You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add an example showcasing the HistGradientBoosting... #26826
The documentation is not putting forward the HGBT very much. People are not guided to it, while it is arguably the most useful model in scikit-learn
One paradigmatic problem is that on the front-page we have a nice visual on regression, but it point to an AdaBoost example 😿
I tried having it point to a good didactic example on the HGBT but I couldn't find one.
Suggest a potential alternative/fix
We should create an example dedicating to showcasing the HBGT.
I think that it should start with a simple didactic example + plot (a plot a bit like the one above would be nice). It should then (in separate section) showcase a few other nice features, for instance:
Quantile regression
Support of missing values
Support of categorical values
Monotonicity constraints
There are already examples on the various features that I listed above. Ideally, I like not to add examples (we have too many). I'm not sure whether we should merge these in (not convinced, as the corresponding examples are probably too detailed) or point too them.
I would also make sure that this example is linked to from a bunch of places (for instance from the various examples on gradient boosting, just to make sure that people do find the HGBT)
Also, we should link from the HGBT docs to this example and vice-versa
Do the example
Replace the landing-page figure and link to example
We can still re-write the Adaboost example to add a similar figure for HGBT but using the parameter max_iter instead of n_estimators.
I would rather not have AdaBoost and HGBT on the same example. AdaBoost is minor and should not get much attention, while HGBT really deserves a full example of it's own.
In terms of removing examples, we have many better candidates (for instance merging the examples "Recursive feature elimination" and "Recursive feature elimination with cross-validation")
Also, advertising stock price modeling with simple ML model is not helpful at managing expectations of our users. We should probably highlight more successful applications of regression. Here are candidate suggestions:
Also, advertising stock price modeling with simple ML model is not helpful at managing expectations of our users. We should probably highlight more successful applications of regression. Here are candidate suggestions:
Activity
adrinjalali commentedon Jul 12, 2023
related: #26220
ArturoAmorQ commentedon Jul 12, 2023
I will take care of this.
betatim commentedon Jul 13, 2023
Can we re-write the Adaboost example to use HistGradBoost and conserve the number of examples by having one less example for Adaboost?
GaelVaroquaux commentedon Jul 13, 2023
ArturoAmorQ commentedon Jul 13, 2023
We can still re-write the Adaboost example to add a similar figure for HGBT but using the parameter
max_iterinstead ofn_estimators.This would conserve the number of examples and Adaboost examples at the same time.
GaelVaroquaux commentedon Jul 13, 2023
ogrisel commentedon Jul 17, 2023
Also, advertising stock price modeling with simple ML model is not helpful at managing expectations of our users. We should probably highlight more successful applications of regression. Here are candidate suggestions:
lorentzenchr commentedon Jul 17, 2023
@ogrisel Do you know a public dataset for each?
Snerdify commentedon Aug 26, 2023
@ogrisel can I start working on this?
ArturoAmorQ commentedon Aug 27, 2023
@Snerdify, we already have #26991 to address this issue