Cross validation sets

Creates training/validation bins for cross validation
459 Downloads
Updated 19 Mar 2015

View License

Given a number of samples forming an arbitrary dataset, this function creates K sets for training and validation so as that each sample is used once and only once for validation purpose and K-1 times for training purpose.

Cite As

Marco Vannucci (2024). Cross validation sets (https://www.mathworks.com/matlabcentral/fileexchange/50101-cross-validation-sets), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0