Skip to content

RandomForestRegressor with monotonicity constraints #18982

Closed

Description

@mayer79

Describe the workflow you want to enable

In practice, being able to use monotonic constraints in "black boxes" is very useful and a small step towards interpretability.

While quite common in gradient boosting implementations (e.g. your https://scikit-learn.org/stable/modules/ensemble.html#monotonic-cst-gbdt, XGBoost, CatBoost, LightGBM), I am not aware of any random forest implementation offering such option. I would love to see this feature in the scikit-learn random forest.

Describe your proposed solution

Same logic as for gradient boosting.

Activity

  1. NicolasHug commented on Dec 9, 2020

    @NicolasHug
    Member

    This is tracked and addressed in #13649

  2. mayer79 commented on Dec 9, 2020

    @mayer79
    ContributorAuthor

    Oh, sweet! Should we keep this issue open? If not, I will close it.

  3. ItamarMushkinPagaya commented on Aug 11, 2022

    @ItamarMushkinPagaya

    Just want to add a +1 to this very useful feature (came across this git issue while looking for monotonic constraints in Random Forest Classifiers)

  4. lorentzenchr commented on Sep 6, 2023

    @lorentzenchr
    Member

    Solved in #13649.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions