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

Is it possible to add a monotone constraint? #7

Open
flippercy opened this issue Mar 23, 2020 · 1 comment
Open

Is it possible to add a monotone constraint? #7

flippercy opened this issue Mar 23, 2020 · 1 comment

Comments

@flippercy
Copy link

flippercy commented Mar 23, 2020

Hi Mr. Sigrist:

Thank you for implementing such a cool algorithm! I am wondering whether it is possible to add a monotone constraint to the main function. This is crucial for problems such as credit scoring for which domain knowledge is important and supported by most major implementations of boosting models such as Xgboost and LightGBM.

Happy boosting!

Sincerely,

Yu Cao

@fabsig
Copy link
Owner

fabsig commented Mar 25, 2020

Thank you for bringing this up, Yu! This would for sure be helpful for credit scoring and also other areas.

Given that the solution done by XGBoost and LightGBM is relatively simple (don't allow for splits that are not in line with the constraints, as far as I remember...), this can for sure be implemented. Note that this is also being discussed for scikit-learn, see e.g. scikit-learn/scikit-learn#6656. I.e., we can likely use code / ideas from there.

I currently don't have time to work on this, but any contributions are welcome.

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

No branches or pull requests

2 participants