How to recall Classification Learner models in the command window
2 次查看(过去 30 天)
显示 更早的评论
Hi there, I'm trying to estimate mean and standard deviation of a model on different training and testing combination. Manually it is so bad and I wonder if it is possible to call models from CL like "weighted KNN" "Ensemble KNN" etc in the command window in order to implement them in an iterative algorithm to store results and compute statistics. I saw it's only possible to call simple classifier not from CL. Any idea?
0 个评论
采纳的回答
Asvin Kumar
2021-3-17
All the options that you see in the Classification Learner App have functional equivalents as well. All those functions are tucked under this page: https://www.mathworks.com/help/stats/classification.html You will see hyperlinks to different approaches: Nearest Neighbour, Naive Bayes, Trees, SVMs, etc. Each page will have a list of all the functions available for that method.
A simple approach to quickly figure out the functional equivalent of an option in the app is to use the "Generate Function" option from the tool strip on the Classification Learner App. This generates a MATLAB function file with a call to the function for the classification method of your choice. Hope this helps you get started.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Learner App 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!