DummyRegressor could easily support sample_weight.
The main challenge is to implement a weighted quantile median function. For reference,
The weighted percentile is already implemented in a private function of sklearn.ensemble.gradient_boosting. (Thanks to @pprett )
Hi, I'm new to sklearn and interested in working on this enhancement. I'll take a look at the references and see what I can do.
Thanks @shibi-raj !
@shibi-raj I finally needed this for a project. So I made a quick pull request at #3779.
Arnaud, I would like to know the place in your project where a Dummy Regressor is used, just to learn.
A regression dataset where some samples are individuals that are present multiple times.
@arjoly If you reference something like Fixes in the PR message or a commit, this will close automatically once the PR is merged.
Just a tip :)