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

Ensure that all linear regression weights are non-negative when specifying monotone_constraints = 1 and linear_tree= True #6051

Open
hyang57 opened this issue Aug 19, 2023 · 0 comments
Labels

Comments

@hyang57
Copy link

hyang57 commented Aug 19, 2023

Summary

I hope (to confirm) that when specifying monotone_constraints = 1 and linear_tree= True, all regression parameters in the Linear tree are non-negative.

Motivation

I hope to use a linear regression model on the leaf nodes of the LightGBM model while maintaining the strong correlation between the factors and the predictions.

Description

I am grateful to Microsoft for providing such an excellent model, which has deepened my research. However, I encountered some issues while using the model and hope you can assist me.

During the model training process, I used monotone_constraints = 1 for all my 'x' values. I believe there is a strong positive correlation between my factors and my predicted values. Additionally, I am not keen on handling multicollinearity because the factors lose their interpretability after addressing it. Therefore, having a positive correlation can help resolve many of my concerns.

Therefore,I hope (to confirm) that when specifying monotone_constraints = 1 and linear_tree= True, all regression parameters in the Linear tree are non-negative.

References

Maybe apply a bounded regression method or use np.exp() on weights?

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

No branches or pull requests

2 participants