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

What is the use of Hessian for custom objective? #1463

Closed
liujxing opened this issue Jun 19, 2018 · 4 comments
Closed

What is the use of Hessian for custom objective? #1463

liujxing opened this issue Jun 19, 2018 · 4 comments

Comments

@liujxing
Copy link

I read the paper of LightGBM and it seems the splitting is chosen by the criterion of variance gain calculated using gradient, so where does the Hessian defined in custom objective come into play here?

@guolinke
Copy link
Collaborator

gradient is the first order optimization.
gradient with hessian is the second order optimization, like the newton optimization.
Refer to https://xgboost.readthedocs.io/en/latest/model.html

@liujxing
Copy link
Author

Of course, but I thought LightGBM used a different algorithm for choosing the best split point, and in no where your paper mentions second order Hessian optimization in your algorithm. Could you be more specific about this?

@guolinke
Copy link
Collaborator

just replace the count with hessian, and the variance gain becomes to the hessian optimization.

@liujxing
Copy link
Author

Thanks.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants