Skip to content

Add an example showcasing the HistGradientBoosting... #26826

Closed

Description

@GaelVaroquaux

Describe the issue linked to the documentation

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 😿
image
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
  • Cross-link in the documentation
  • Cross-link in other examples

cc @ArturoAmorQ

Activity

  1. adrinjalali commented on Jul 12, 2023

    @adrinjalali
    Member

    related: #26220

  2. ArturoAmorQ commented on Jul 12, 2023

    @ArturoAmorQ
    Member

    I will take care of this.

  3. self-assigned this
    on Jul 12, 2023
  4. betatim commented on Jul 13, 2023

    @betatim
    Member

    Can we re-write the Adaboost example to use HistGradBoost and conserve the number of examples by having one less example for Adaboost?

  5. GaelVaroquaux commented on Jul 13, 2023

    @GaelVaroquaux
    MemberAuthor
  6. ArturoAmorQ commented on Jul 13, 2023

    @ArturoAmorQ
    Member

    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.

    This would conserve the number of examples and Adaboost examples at the same time.

  7. GaelVaroquaux commented on Jul 13, 2023

    @GaelVaroquaux
    MemberAuthor
  8. ogrisel commented on Jul 17, 2023

    @ogrisel
    Member

    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:

    • drug response,
    • demand forecasting in retail,
    • real estate prices,
    • machine failure rates,
    • energy consumption.
  9. lorentzenchr commented on Jul 17, 2023

    @lorentzenchr
    Member

    @ogrisel Do you know a public dataset for each?

  10. Snerdify commented on Aug 26, 2023

    @Snerdify

    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:

    • drug response,
    • demand forecasting in retail,
    • real estate prices,
    • machine failure rates,
    • energy consumption.

    @ogrisel can I start working on this?

  11. ArturoAmorQ commented on Aug 27, 2023

    @ArturoAmorQ
    Member

    @Snerdify, we already have #26991 to address this issue

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions