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
Cita come
Joseph Santarcangelo (2024). 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. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato: 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!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.