how to divide data set randomly into training,testing,validation data set?
Mostrar comentarios más antiguos
Hello guys, I have a dataset of a matrix of size 116*116*45 type double and I want to divide it randomly into 3 subsets training,testing and cross-validation sets.
how to make it randomly generated everytime it run?
can anyone help me?
Respuestas (1)
Image Analyst
el 28 de Nov. de 2019
0 votos
Try randsample() or randperm().
Categorías
Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!