How to spilt data for training and testing parts in a folder?
Mostra commenti meno recenti
Hello, I have lots of data for deep learning, and want to split those mat file in the one folder into 70% training and 30$ validation sets, then save them to another folder. How should I do to make that? Thanks!
Risposte (1)
Prince Kumar
il 11 Apr 2022
1 voto
Hi,
For splitting the data please refer to the following answers:
- https://www.mathworks.com/matlabcentral/answers/377839-split-training-data-and-testing-data
- https://www.mathworks.com/matlabcentral/answers/388385-how-can-i-do-a-80-20-split-on-datasets-to-obtain-training-and-test-datasets
- https://www.mathworks.com/matlabcentral/answers/648643-split-data-to-train-test-and-validation
Now to save the split(s), refer the following answers:
- https://www.mathworks.com/matlabcentral/answers/292406-how-to-save-the-output-in-a-certain-folder
- https://www.mathworks.com/matlabcentral/answers/80599-saving-outputs-to-different-folder-than-m-file
Hope this helps!
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!