How to prepare the data for Classification learner Toolbox?
1 view (last 30 days)
Show older comments
Hello
I would like to ask in respect of Classification Learner how many data sets should I have. Should I have data set for training and an other for testing or is it pssible to train on 10% of data and then test all population? Is it possible to do training and testing within toolbox window or I have to export model to workspace and test it separatly?
Thanks a lot!
Helen
0 Comments
Accepted Answer
Bhargavi Maganuru
on 13 Feb 2020
You can refer Holdout Validation scheme , where you can select the percentage of data to use as a test set while training. But the final model is always trained using full data set. To explicitly test the model, you can export the model to Workspace and make predictions on new data. For more information about exporting the model refer this link
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!