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

Skip to content

Gradient boosting models ignore min_impurity_split parameter #8006

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
sebp opened this issue Dec 7, 2016 · 1 comment · Fixed by #8007
Closed

Gradient boosting models ignore min_impurity_split parameter #8006

sebp opened this issue Dec 7, 2016 · 1 comment · Fixed by #8007
Labels
Bug Easy Well-defined and straightforward way to resolve

Comments

@sebp
Copy link
Contributor

sebp commented Dec 7, 2016

Description

Gradient boosting models ignore min_impurity_split parameter introduced in commit 376aa50.

Expected Results

self.min_impurity_split should be passed to DecisionTreeRegressor in BaseGradientBoosting._fit_stage.

Actual Results

self.min_impurity_split is never read in BaseGradientBoosting or any of its sub-classes.

Versions

  • Linux-4.8.10-300.fc25.x86_64-x86_64-with-fedora-25-Twenty_Five
  • Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:53:06)
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
  • NumPy 1.11.2
  • SciPy 0.18.1
  • Scikit-Learn @ 3dcb873
@amueller amueller added Bug Easy Well-defined and straightforward way to resolve Need Contributor labels Dec 7, 2016
@amueller
Copy link
Member

amueller commented Dec 7, 2016

Thanks for the report. Do you want to submit a fix with regression test?

sebp pushed a commit to sebp/scikit-learn that referenced this issue Dec 10, 2016
self.min_impurity_split should be passed to
DecisionTreeRegressor in BaseGradientBoosting._fit_stage.

Fixes scikit-learn#8006
sebp pushed a commit to sebp/scikit-learn that referenced this issue Dec 11, 2016
self.min_impurity_split should be passed to
DecisionTreeRegressor in BaseGradientBoosting._fit_stage.

Fixes scikit-learn#8006
sebp pushed a commit to sebp/scikit-learn that referenced this issue Dec 13, 2016
self.min_impurity_split should be passed to
DecisionTreeRegressor in BaseGradientBoosting._fit_stage.

Fixes scikit-learn#8006
sebp pushed a commit to sebp/scikit-learn that referenced this issue Dec 13, 2016
self.min_impurity_split should be passed to
DecisionTreeRegressor in BaseGradientBoosting._fit_stage.

Fixes scikit-learn#8006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Easy Well-defined and straightforward way to resolve
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants