You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With MultiOutputRegressor.fit, It would be nice to be able to provide one sample_weight vector per output. The gain would just be the ease of use when you have several regression to perform at once instead of having necessarily one estimator per regression. This shouldn't be difficult to implement.
I think it would be nice also to have this directly supported by the underlying estimators that support multiple outputs (like most linear regressors). However, I have no idea how hard it could be to implement.
I am unsure why the specific use-case matters, but here it is.
From the features I have 5 outputs to predict. The values of those outputs follow more-or-less a normal distribution, and are (assumed to be) independent.
As it turns out, it's more important to predict correctly the samples whose output is far from average, while we don't care much about being wrong with the samples whose output is close to the average.
Therefore I wanted to try to put some weight on the samples so that the rarer they are (according to the estimated distribution) the higher the weight. I would then have 5 weight vectors, one per target, since there are 5 outputs.
Description
With
MultiOutputRegressor.fit
, It would be nice to be able to provide onesample_weight
vector per output. The gain would just be the ease of use when you have several regression to perform at once instead of having necessarily one estimator per regression. This shouldn't be difficult to implement.I think it would be nice also to have this directly supported by the underlying estimators that support multiple outputs (like most linear regressors). However, I have no idea how hard it could be to implement.
Steps/Code to Reproduce
Expected usage example.
Expected Results
Perform the multiple regressions using one column of
w
assample_weight
per call to fit to the underlying estimator.Actual Results
Unsupported yet.
Versions
The text was updated successfully, but these errors were encountered: