stats of trained logistic regression in classification learner app.

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

Answers (1)

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

Hi,
so does the pValue indicate the importance of each predictors?
Thanks a lot

Sign in to comment.

Asked:

on 17 Mar 2020

Commented:

on 28 Jan 2022

Community Treasure Hunt

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

Start Hunting!