Effacer les filtres
Effacer les filtres

Does Cross Validation in MATLAB shuffle my data?

5 vues (au cours des 30 derniers jours)
Dennis
Dennis le 11 Oct 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

Réponse acceptée

Sourav Karmakar
Sourav Karmakar le 13 Oct 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!

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by