How to use matlab Kfold or custom cvpartition so data isn't shuffled randomly?

2 次查看(过去 30 天)
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
Swetha Polemoni 2021-3-31
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.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by