A Matlab function For Randomly Partitioning Date into Training, Validation and Testing Data
This function randomly partitions data into training, validation and testing data using Cross Validation. Partitioning data in this manner is commonly used for determining the performance of algorithms with free parameters. Training data is commonly used to train the system, the optimum value for the free parameters is determined using validation data. Finally the results of the algorithm are determined using testing data. Matlab has a cross validation but I find it hard to use so I wrote my own. An example determining the optimum kernel with Support vector machines is used. Contact me if you have questions or suggestions
Zitieren als
Joseph Santarcangelo (2025). A Matlab function For Randomly Partitioning Date into Training, Validation and Testing Data (https://www.mathworks.com/matlabcentral/fileexchange/48538-a-matlab-function-for-randomly-partitioning-date-into-training-validation-and-testing-data), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert: Simple, Repeated and Nested Cross-Validation and Bootstrapping fold generation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
A Matlab function For Randomly Partitioning Data into Training, Validation and Testing Data - Copy/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.0 | put more references |
||
1.1.0.0 | Put: your matlab need to have access to the function crossvalind |
||
1.0.0.0 |