Transformation of trained model into an equation - Classification Learner
2 views (last 30 days)
Show older comments
Sadaf Batool
on 17 Jan 2021
Answered: Raynier Suresh
on 22 Jan 2021
Problem Statement: Multi-class classification (3 classes)
Approach: Classification learner app - Ensemble (bagged trees) and SVM (cubic) are showing better results
Question: Using the parameters in the trained model, is there a way to develop an equation which can predict the classes? In other words, how to use the parameters in the trained model to make new predictions instead of directly using predict command? I need an equation to use it for control design. (Models are attached).
2 Comments
Iuliu Ardelean
on 17 Jan 2021
Are you looking to actually write your own SVM and Ensemble models? Will the "equations" be used in MATLAB or somewhere else?
Accepted Answer
Raynier Suresh
on 22 Jan 2021
One way is to take the equation from the documentation and replace the variable with the parameters from the trained model. You can refer the below links to know about the equation's
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!