Hot answers tagged


Instead of using the estimator attribute you should be using the best_estimator attribute, after which you can access the underlying estimators of the MultiOutputRegressor using the estimators_ attribute. You can then access the coefficients as follows: coefficients = [estimator.coef_ for estimator in best_model.best_estimator_.estimators_] # [array([-0. ...

Only top voted, non community-wiki answers of a minimum length are eligible