Is k-folds cross-valiation in regressionlearner random or block/leave one out?
1 次查看(过去 30 天)
显示 更早的评论
Is the k-folds cross-valiation in the regressionlearner random or block/leave one out? The documentation does not say.
If random, does MATLAB have functionality to complete block/leave one out cross-validation?
0 个评论
回答(1 个)
Drew
2023-1-10
You can perform leave-one-out cross-validation in Regression Learner by setting the number of cross-validation folds equal to the number of samples in your training set. At the session start dialogue, you will find that the number of samples in the training set is the maximum allowed value for the number of folds.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!