Labels=[1; 0];
k=5;
groups = Labels;
cvFolds = crossvalind('Kfold', groups, k);
I am getting error of no bio informatics toolbox. Is there a way I could rewrite this function without using crossvalind?
Labels=[1; 0];
k=5;
groups = Labels;
cvFolds = crossvalind('Kfold', groups, k);
I am getting error of no bio informatics toolbox. Is there a way I could rewrite this function without using crossvalind?