Transformation of trained model into an equation - Classification Learner

2 ビュー (過去 30 日間)
Sadaf Batool
Sadaf Batool 2021 年 1 月 17 日
回答済み: Raynier Suresh 2021 年 1 月 22 日
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 件のコメント
Iuliu Ardelean
Iuliu Ardelean 2021 年 1 月 17 日
Are you looking to actually write your own SVM and Ensemble models? Will the "equations" be used in MATLAB or somewhere else?
Sadaf Batool
Sadaf Batool 2021 年 1 月 17 日
I want to know the procedure that MATLAB adopts for classification using the parameters of the trained model. I want to know how these parameters are used for the prediction of the class.
Yes, I will be using the equation in MATLAB.

サインインしてコメントする。

採用された回答

Raynier Suresh
Raynier Suresh 2021 年 1 月 22 日
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 件)

カテゴリ

Help Center および File ExchangeClassification についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by