stats of trained logistic regression in classification learner app.

27 views (last 30 days)
I have trained a logistic regression model in classification learner app, how can I identify the beta coefficients (stats).

Answers (1)

Raunak Gupta
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.

Community Treasure Hunt

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

Start Hunting!