Skip to content
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

RandomForestRegressor with monotonicity constraints #18982

Closed
mayer79 opened this issue Dec 9, 2020 · 4 comments
Closed

RandomForestRegressor with monotonicity constraints #18982

mayer79 opened this issue Dec 9, 2020 · 4 comments

Comments

@mayer79
Copy link
Contributor

mayer79 commented Dec 9, 2020

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.

@NicolasHug
Copy link
Member

This is tracked and addressed in #13649

@mayer79
Copy link
Contributor Author

mayer79 commented Dec 9, 2020

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

@ItamarMushkinPagaya
Copy link

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)

@lorentzenchr
Copy link
Member

Solved in #13649.

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

No branches or pull requests

5 participants