How to use matlab Kfold or custom cvpartition so data isn't shuffled randomly?
16 views (last 30 days)
Maxwell Barton on 28 Mar 2021
The built in matlab Kfold and cvpartition for use in fitrgp (gaussian process regression) randomly shuffle the data before splitting into folds. For reproducibility, is there any way to avoid the random shuffle?
Swetha Polemoni on 31 Mar 2021
Hi Maxwell Barton
K-fold validation without random shuffling of data is not supported by Matlab This requirement has been brought to the notice of developers. It might be considered in future release.