tpot icon indicating copy to clipboard operation
tpot copied to clipboard

Coefficient of Logistic Regression Using TPOT

Open manbau10 opened this issue 2 years ago • 1 comments

I built a model using Logistic regression in TPOT classifier. I used model.fitted_pipeline_.steps[-1][1].coef_ to get the coefficients. However, the output returns 23 coefficient values, whereas the features are only 10.

Can someone help on this, please?

manbau10 avatar Sep 13 '22 02:09 manbau10

What does the rest of the pipeline look like? Sometimes transformers, feature unions, or stackingestimators increase the number of features.

perib avatar Sep 14 '22 18:09 perib