-
Hi everyone, I ran a session with sklearns MultiOutputRegressor with:
However, after fitting, MultiOutputRegressor keeps AutoML as estimator. Appreciate your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The only way I can think of is to inherit MultiOutputRegressor and override its (fit)[https://github.com/scikit-learn/scikit-learn/blob/37ac6788c9504ee409b75e5e24ff7d86c90c2ffb/sklearn/multioutput.py#L153] function. Set |
Beta Was this translation helpful? Give feedback.
The only way I can think of is to inherit MultiOutputRegressor and override its (fit)[https://github.com/scikit-learn/scikit-learn/blob/37ac6788c9504ee409b75e5e24ff7d86c90c2ffb/sklearn/multioutput.py#L153] function. Set
self.estimators_
to be the list of estimators you want, and modify https://github.com/scikit-learn/scikit-learn/blob/37ac6788c9504ee409b75e5e24ff7d86c90c2ffb/sklearn/multioutput.py#L202-L207