how to print estimated coefficients after a (GridSearchCV) fit a model? (SGDRegressor)

后端 未结 2 2027
旧时难觅i
旧时难觅i 2021-02-06 04:08

I am new to scikit-learn, but it did what I was hoping for. Now, maddeningly, the only remaining issue is that I don\'t find how I could print (or even better, writ

2条回答
  •  遇见更好的自我
    2021-02-06 04:41

    The SGDClassifier instance fitted with the best hyperparameters is stored in gs.best_estimator_. The coef_ and intercept_ are the fitted parameters of that best model.

提交回复
热议问题