App Designer for Classification
显示 更早的评论
I have trained and tested a set of data with the RUSBoosted Tree ensemble based algorithm in classification learner.
However, I would like to apply the classification function in the App designer.
May I get some recommended ideas on how to do so?
回答(1 个)
Image Analyst
2022-6-28
0 个投票
In the learner, export the model to a .mat file. Then in your app read in the mat file and call it like the mat file tells you to.
5 个评论
Haw Jia Yong
2022-6-28
Image Analyst
2022-6-28
You forgot to attach your exported mat file. When you read it in, it will tell you how to call it
Classification=load('ClassificationLearnerSession1.mat') % No semicolon!!!
Then look in the command window. One of the fields of s should be a string telling you how to call it.
Haw Jia Yong
2022-6-28
Image Analyst
2022-6-28
You forgot to attach the model in the .mat file again. And you also forgot to attach your .mlapp file. I'll check back later.
Haw Jia Yong
2022-6-28
类别
在 帮助中心 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!