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

Hessian times input for PoissonLL...ProjData: throw error if result would be incorrect #1477

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

KrisThielemans
Copy link
Collaborator

The Hessian calculations for the Poisson log-lik for projdata use divide_and_truncate, which sets negative
numerators to zero. This is incorrect when the forward projection of the "input" contains negatives.
We now check this and throw an error if it occurs. A proper fix will have to be for later.

See #1461

The Hessian calculations for the Poisson log-lik for projdata
use divide_and_truncate, which sets negative
numerators to zero. This is incorrect when the forward projection
of the "input" contains negatives.
We now check this and throw an error if it occurs. A proper fix
will have to be for later.

See UCL#1461
@KrisThielemans KrisThielemans added this to the v6.2 milestone Jul 22, 2024
@KrisThielemans KrisThielemans self-assigned this Jul 22, 2024
@KrisThielemans KrisThielemans merged commit c0b10eb into UCL:master Jul 23, 2024
9 checks passed
@KrisThielemans KrisThielemans deleted the PoissonLLHessianFix branch July 23, 2024 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

accumulate_Hessian_times_input for Poisson...ProjData fails for input containing negatives
1 participant