1
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?

shr m
  • 27
  • 1
  • Here's a copy from someone's repo on Github: http://github.com/stevetjoa/ccrma/blob/master/crossvalind.m – rayryeng Aug 04 '15 at 19:38

0 Answers0