Filter löschen
Filter löschen

How to see the weight of features of trained model in Regression Leaner App?

7 Ansichten (letzte 30 Tage)
Hi everyone,
As the topic title, I want to know "How to see the weight of features of trained model in Regression Leaner App?". Thanks!

Akzeptierte Antwort

Shreeya
Shreeya am 20 Sep. 2023
I understand that you want to obtain the weights of a model trained using the regression learner app.
Start by exporting the model to the MATLAB workspace, let’s say in a variable named “model”. Then, you can access the weights using the “LinearModel.Coefficients” property:
Model. LinearModel.Coefficients
The answer lined below provides an explanation for a similar query, and regarding the impact of each variable over the model prediction:
I hope this helps!

Weitere Antworten (0)

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by