Simple, Repeated and Nested Cross-Validation and Bootstrapping fold generation
fold is designed to produce cross-validation folds for any learner.
It is designed to be usable with standard, toolbox and contributed learners.
It can be used for randomized or unrandomized, stratified or unstratified CV.
It can be used with arbitrarily complex repeated or nested CV schemes.
It can be used for bootstrapping and CV schemes including bootstrapfolds.
Run initially with parameters, with or without dataset (needed for stratification), returning CV struct.
Subsequently, it can be run with just CV as the parameter to produce the next fold in sequence.
Alternately, a specific nested fold sequence can be specified to control which fold is produced.
It is designed to be used with any (supervised or unsupervised) learning algorithm, including builtin and standard functions, toolboxes and contributed classifiers. The CV returned has index vectors that specify the subset used in each fold.
引用格式
David Powers (2024). Simple, Repeated and Nested Cross-Validation and Bootstrapping fold generation (https://www.mathworks.com/matlabcentral/fileexchange/55517-simple-repeated-and-nested-cross-validation-and-bootstrapping-fold-generation), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
致谢
参考作品: K-Fold Cross Validation, A Matlab function For Randomly Partitioning Date into Training, Validation and Testing Data, Cross validation sets, EvaluadorCrossValidation(clase,numRepresentantes,numDimensiones,numClases,clasificador), Cross-validated correlation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.23.0.0 | fixed some abbreviated initialization calls and stratification errors - still experimental and needs better documentation |
||
1.21.0.0 | Documentation (Usage Notes) added to discuss the various use cases and when/why CV, Repeated CV, Nested CV or Bootstrapping are required/appropriate. |
||
1.2.0.0 |
improved text of description
|