- Partition data for cross-validation - MATLAB (mathworks.com)
- Cross-validate machine learning model - MATLAB crossval (mathworks.com)
Does Cross Validation in MATLAB shuffle my data?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dennis
el 11 de Oct. de 2022
Respondida: Sourav Karmakar
el 13 de Oct. de 2022
Hey!
I recently started using MATLAB and more specifically, the Statistics and Machine Learning toolbox. When choosing the Classification Learner, I can choose my Validation Scheme - when choosing Cross Validation, does MATLAB shuffle my data? Couldn't find any information about this in the docs :(
Kind regards
Dennis
0 comentarios
Respuesta aceptada
Sourav Karmakar
el 13 de Oct. de 2022
Hi Dennis,
Yes, while applying cross-validation, the data will be suffled. The "cvpartition"/"crossval" functions define a random partition on the data set. Please refer to the following links capuring more information on this:
You can check out the link below to know more about cross validation in MATLAB: Cross-Validation - MATLAB & Simulink (mathworks.com)
I hope this information helps!
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!