Split the data into 70% training and 30% test in classification learner?
4 views (last 30 days)
Show older comments
I am using classification learner to train my model. Is there a way in classification learner app to split the data into 70% training and 30% for testing in the classification learner app without coding ?
0 Comments
Accepted Answer
Cris LaPierre
on 12 Apr 2022
What version of MATLAB are you using? In R2022a, there is an option to set aside a percentage of the data to use as test data.
I'm not sure in what version this was added, but do recall that earlier versions did not have this. In that case, you would need to code your data partion before using the app. When that is the case, use cvpartition.
0 Comments
More Answers (0)
See Also
Categories
Find more on Classification Learner App in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!