stats of trained logistic regression in classification learner app.
27 views (last 30 days)
Show older comments
I have trained a logistic regression model in classification learner app, how can I identify the beta coefficients (stats).
0 Comments
Answers (1)
Raunak Gupta
on 20 Mar 2020
Hi,
After training the logistic regression model in the Classification Learner App you can export the model to the workspace with a variable name for example ‘trainedModel’. The information about the Generalized Linear Model that is trained as logistic regression model can be found in trainedModel.GeneralizedLinearModel. The beta coefficient are stored in trainedModel.GeneralizedLinearModel.Coefficients table where the first column represent the estimate of the same. Other columns represent Standard Error (SE), t-Statistics(tStat) and pValue for the estimate of each coefficient.
Hope this helps.
1 Comment
Federica Poli
on 28 Jan 2022
Hi,
so does the pValue indicate the importance of each predictors?
Thanks a lot
See Also
Categories
Find more on Classification Learner App in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!