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

Does lleaves support linear_trees? #78

Open
dragonbra opened this issue Jun 7, 2024 · 0 comments
Open

Does lleaves support linear_trees? #78

dragonbra opened this issue Jun 7, 2024 · 0 comments

Comments

@dragonbra
Copy link

I compared the prediction results with lleaves and lightGBM and noticed that when I set num_tree to 1, the predictions are equal. But they are different when I set any numbers greater than 1.

I realized that if I set linear_tree=True, only the first tree will use leaf_const as its prediction value, or the tree will use linear model's value.

Does this observation mean that lleaves do not support linear_trees?

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

1 participant