Closed manbau10 closed 1 year ago
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.
model.fitted_pipeline_.steps[-1][1].coef_
Can someone help on this, please?
What does the rest of the pipeline look like? Sometimes transformers, feature unions, or stackingestimators increase the number of features.
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?