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

Investigate the discrepancy in default hyperparams compared to LightGBM #32

Open
ogrisel opened this issue Nov 1, 2018 · 4 comments
Open

Comments

@ogrisel
Copy link
Owner

ogrisel commented Nov 1, 2018

Possible culprits:

  • shrinkage / learning_rate
  • min_samples_leaf
  • min_child_samples

See details in #30 (comment).

@ogrisel
Copy link
Owner Author

ogrisel commented Nov 1, 2018

As @NicolasHug noted, our min_samples_leaf in pygbm is not correct. I would rather implement what LightGBM does, that is reject splits that would result in one of the child nodes having less than min_samples_leaf.

@NicolasHug
Copy link
Collaborator

You mean sklearn?

LightGBM is doing something very weird with min_sample_leaf, it looks like it is ignored because of num_leaves (see #30 (comment))

@guolinke
Copy link

guolinke commented Nov 2, 2018

@NicolasHug I think you used the wrong parameter name in that code.

@ogrisel
Copy link
Owner Author

ogrisel commented Nov 2, 2018

Indeed. It's actually the pygbm handling of min_samples_leaf that is broken. See: #34.

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

3 participants