8000 ENH add interpolation parameter to DummyRegressor for "median" and "quantile" strategies by glemaitre · Pull Request #17775 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

ENH add interpolation parameter to DummyRegressor for "median" and "quantile" strategies #17775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

glemaitre
Copy link
Member

It requires merging #17768

This PR provides the following:

  • expose an interpolation parameter which can be used with the median and quantile strategies;
  • no change of the default behaviour;
  • raise a FutureWarning to have consistent interpolation when passing or not sample_weight. "linear" will be the default.

This PR is useful for creating the original estimator in the GBRT where we want the same interpolation with and without sample_weight meaning that we want to set it.

@glemaitre glemaitre force-pushed the dummy_interpolation_strategy branch from 9bb6ebb to 4c3e14f Compare June 29, 2020 16:59
Base automatically changed from master to main January 22, 2021 10:52
@lorentzenchr
Copy link
Member

I would not extent DummyRegressor in that direction. Therefore closing.

@glemaitre
Copy link
Member Author

What is your fix for the GBDT issue?

@lorentzenchr
Copy link
Member

What needs to be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0