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

Incorrect use of partial in function TweedieDistribution._rowwise_gradient_hessian #888

Open
bili2002 opened this issue Dec 12, 2024 · 1 comment

Comments

@bili2002
Copy link

Description

There is an error in the code for TweedieDistribution._rowwise_gradient_hessian when self.power = 3. A p parameter is passed to partial, however p is not defined in the function signature for inv_gaussian_log_rowwise_gradient_hessian.

@lbittarello
Copy link
Member

Thanks, @bili2002! Could you fix it and extend the tests to include the inverse Gaussian case?

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