Programmatically Accessing the Classification Learner

1 次查看(过去 30 天)
Is there anyway to programmatically access the classification learner and have it train all the models based on a set of classification data without having to actually open it from the app menu? I'm interested in getting the percent accuracy numbers associated with each model. If there was a way to do this without having to manually open the classification learner it would be very helpful.

采纳的回答

Rajesh Balagam
Rajesh Balagam 2017-10-17
It's not currently possible to programmatically access the results from the Classification Learner.
At present, only way to get those values is to generate and run code for the desired models. Even in this case the accuracy values may be slightly different from the app due to randomness in choosing the training and validation set.
You can try setting the random seed before using the app, and then use the same random seed when running the generated code. However, the exact match for the results is not guaranteed.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Classification Learner App 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by