R has a nice function 'split' can do this job. See the example below as reference.
train_all =as.matrix(sample (1:254, 254)) train_5_group<-split (train_all, rep (1:5), drop=true) Is there a similar function in julia?
R has a nice function 'split' can do this job. See the example below as reference.
train_all =as.matrix(sample (1:254, 254)) train_5_group<-split (train_all, rep (1:5), drop=true) Is there a similar function in julia?