-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
GradientBoostingRegressor always sets presort to auto #5857
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
Comments
I'm suspecting that that PR introduced both of the issues. I think there is a check_X_y call which is causing the other issue which I missed since I was using smaller datasets. I've been swamped with a few presentations I have to do this week, but I'll be available to take a look at both soon. |
I added a second commit. It looks like the logic to activate the presort would only actually work if you explicitly set the parameter to 'True' . Since the super() call clobbers this, I don't know that it ever actually got turned on. |
Fixed in #5858 |
* tag '0.17.1': (29 commits) Release 0.17.1 MAINT remove non-existing cache folder in 0.17.X branch FIX cythonize TSNE MAINT simplify freeing logic for Barnes-Hut SNE memory leak fix Fix memory leak in Barnes-Hut SNE FIX check_build_doc.py false positive detections MAINT more informative output to circle/check_build_doc.py FIX fetch_california_housing FIX in randomized_svd flip sign Updated examples and tests that use scipy's lena DOC whats_new entry for scikit-learn#6258 fix joblib error in LatentDirichletAllocation MAINT fix / speedup travis on 0.17.X MAINT Upgrade pip in appveyor and display version DOC missing changelog entry for scikit-learn#5857 DOC add fix for scikit-learn#6147 to the changelog FIX 6147: ensure that AUC is always a float TST non-regression test for scikit-learn#6147, roc_auc on memmap data Added changelog entry about scikit-learn#6196 Fix reading of bunch pickles ...
* releases: (29 commits) Release 0.17.1 MAINT remove non-existing cache folder in 0.17.X branch FIX cythonize TSNE MAINT simplify freeing logic for Barnes-Hut SNE memory leak fix Fix memory leak in Barnes-Hut SNE FIX check_build_doc.py false positive detections MAINT more informative output to circle/check_build_doc.py FIX fetch_california_housing FIX in randomized_svd flip sign Updated examples and tests that use scipy's lena DOC whats_new entry for scikit-learn#6258 fix joblib error in LatentDirichletAllocation MAINT fix / speedup travis on 0.17.X MAINT Upgrade pip in appveyor and display version DOC missing changelog entry for scikit-learn#5857 DOC add fix for scikit-learn#6147 to the changelog FIX 6147: ensure that AUC is always a float TST non-regression test for scikit-learn#6147, roc_auc on memmap data Added changelog entry about scikit-learn#6196 Fix reading of bunch pickles ...
* dfsg: (29 commits) Release 0.17.1 MAINT remove non-existing cache folder in 0.17.X branch FIX cythonize TSNE MAINT simplify freeing logic for Barnes-Hut SNE memory leak fix Fix memory leak in Barnes-Hut SNE FIX check_build_doc.py false positive detections MAINT more informative output to circle/check_build_doc.py FIX fetch_california_housing FIX in randomized_svd flip sign Updated examples and tests that use scipy's lena DOC whats_new entry for scikit-learn#6258 fix joblib error in LatentDirichletAllocation MAINT fix / speedup travis on 0.17.X MAINT Upgrade pip in appveyor and display version DOC missing changelog entry for scikit-learn#5857 DOC add fix for scikit-learn#6147 to the changelog FIX 6147: ensure that AUC is always a float TST non-regression test for scikit-learn#6147, roc_auc on memmap data Added changelog entry about scikit-learn#6196 Fix reading of bunch pickles ...
In the call to super inside
__init__()
GradientBoostingRegressor
does not pass thru the presort variable to the superclass:The text was updated successfully, but these errors were encountered: