I have a dataset. I want to do cross validation. How can I divide it into testing and training data ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, I have got 100 folders of which 50 are male and 50 are female. Each folder contains 6 images. I want to implement cross validation. I just know how to implement the cross validation if I just have the 100 distinct images. But here I have 100 different folders how to divide them for cross validation ? Need help.
0 Commenti
Risposte (1)
dpb
il 22 Ago 2016
Just randomize over the overall list...
2 Commenti
dpb
il 22 Ago 2016
Return the list of subdirectories first in an array then select randomly from that array....there are quite a number of threads with code on Answers that show how to traverse a subdirectory if that's an issue...
Vedere anche
Categorie
Scopri di più su Image Data Workflows in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!