-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
var.monotone option in GradientBoosting #6656
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
+1 for this feature. It is what allows me to use GBM for regulated credit risk models |
+1, I would love to use this! |
Could someone possibly label this as a new feature and assign to me? I've already made a start: this notebook demonstrates it working for DecisionTreeRegressor and GradientBoostingRegressor. Code is here. I'd welcome advice on the API (and the code too), here's what I've gone with:
Thanks! |
@PatrickOReilly please create a pull request so we can easily review the changes. |
Hi, is it possible to add the equivalent of the var.monotone option in R GBM package to the GradientBoostingClassifier/Regressor? Sometimes it is really useful when we know/want some factors to have monotonic effect to avoid overfitting and non-intuitive results.
Thanks!
The text was updated successfully, but these errors were encountered: