How can I split data train, validation using for classificaiton learner
4 ビュー (過去 30 日間)
古いコメントを表示
Hello, is there a way to select the train and validation data separately from the separate data in the workspace for classification learner? Classification Learner interface does it by splitting the train data into %train and %test as a deafult. I need this to take advantage of the classification learner.
Kind regards
0 件のコメント
回答 (1 件)
Govind KM
2023 年 6 月 5 日
You can set the percentage of data to be reserved for testing or even import a test data set through the Test section on the Classification Learner tab. You can refer to these documentation sites for more information :
https://in.mathworks.com/help/stats/select-data-and-validation-for-classification-problem.html (Section : Reserve Data for Testing)
https://in.mathworks.com/help/stats/assess-classifier-performance.html#mw_bce8ad28-f1d5-48fa-be79-9c272149a135 (Section: Evaluate Test Set Model Performance)
2 件のコメント
Govind KM
2023 年 6 月 6 日
While creating a new session, you can select holdout validation and select a percentage of data to be used as a validation set. This can help you if you want to set a specific number of samples for validation.
I don't think you can specify the validation data separately as of now.
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!