Using an external validation set in classification learner
显示 更早的评论
Hello,
The usual way to validate your model in the classification learner is to use one of the two options i.e. k-fold cross validation or hold out validation.
However I would like to use my own validation set I have prepared. Can you tell me how to do that in the classification learner?
Thanks a lot for your help.
Regards,
Ludovic.
回答(1 个)
Drew
about 21 hours 前
0 个投票
Starting in R2026a, your own validation set can be specified using the "ValidationPartition" Name-Value pair when starting the Classification Learner app from the command line. See https://www.mathworks.com/help/releases/R2026a/stats/classificationlearner-app.html for more details.
类别
在 帮助中心 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!