How to spilt data for training and testing parts in a folder?
Ältere Kommentare anzeigen
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!
Antworten (1)
Prince Kumar
am 11 Apr. 2022
1 Stimme
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!
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!