Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add baseline estimator to HGBT #27109

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

Open
lorentzenchr opened this issue Aug 19, 2023 · 6 comments
Open

Add baseline estimator to HGBT #27109

lorentzenchr opened this issue Aug 19, 2023 · 6 comments
Labels
module:ensemble Needs Decision - Include Feature Requires decision regarding including feature New Feature

Comments

@lorentzenchr
Copy link
Member

Describe the workflow you want to enable

I would like to specify a baseline estimator like in GradientBoostingRegressor(init=MyCoolBaselineEstimator_Maybe_a_linear_model).

Describe your proposed solution

Add a parameter baseline (or if has to be the same, then init) to HistGradientBoostingRegressor and HistGradientBoostingClassifier.

Describe alternatives you've considered, if relevant

The StackingClassifier does not do the same thing.

Additional context

In particular a linear model as baseline could

  1. Improve fit time
  2. Allow for non-constant extrapolation on important features, quite in contrast to trees.
@lorentzenchr lorentzenchr added New Feature Needs Triage Issue requires triage module:ensemble Needs Decision - Include Feature Requires decision regarding including feature and removed Needs Triage Issue requires triage labels Aug 19, 2023
@GyanPrakashkushwaha

This comment was marked as off-topic.

@GyanPrakashkushwaha
Copy link

Hello @lorentzenchr ,Thanks for reporting the issue. I am willing to add the baseline estimator in HistGradientBoostingClassifier and HistGradientBoostingRegressor.
I have started working in this.

@betatim
Copy link
Member

betatim commented Aug 21, 2023

Could you explain a bit more what you mean with a baseline model? Is it the model that gets boosted (by default a decision tree)?

@lorentzenchr
Copy link
Member Author

@betatim Same as GradientBoostingRegressor(init=...), i.e. the starting point from where to begin boosting, i.e. it is still tree boosting.

@lorentzenchr
Copy link
Member Author

@GyanPrakashkushwaha This is marked as "Needs Decision" in the labels.

@GyanPrakashkushwaha
Copy link

GyanPrakashkushwaha commented Aug 22, 2023

@lorentzenchr I am trying to add the init parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ensemble Needs Decision - Include Feature Requires decision regarding including feature New Feature
Projects
None yet
Development

No branches or pull requests

3 participants