Skip to content

Fix powell optimizer overflows and underflows#381

Merged
contsili merged 10 commits intodevfrom
fix-powell-inverse-A
Mar 12, 2026
Merged

Fix powell optimizer overflows and underflows#381
contsili merged 10 commits intodevfrom
fix-powell-inverse-A

Conversation

@contsili
Copy link
Collaborator

@contsili contsili commented Feb 25, 2026

Tested it with Enric's data and it ran without errors

Hyperparameters (alpha and beta) do not flow to very small values (close to 0) or to inf. This allows A (posterior precision matrix) to be inverted and the posterior distribution to be computed
@contsili contsili requested a review from amarquand February 25, 2026 14:48
@contsili contsili changed the base branch from master to dev February 25, 2026 15:22
@contsili
Copy link
Collaborator Author

contsili commented Mar 4, 2026

After discussion with @amarquand i am going to implement: In case of crashing I will give NaN to the powell optimizer to see if it can find a better hyp[0] that wont lead to overflows

@contsili contsili merged commit d3187f8 into dev Mar 12, 2026
2 checks passed
@contsili contsili deleted the fix-powell-inverse-A branch March 12, 2026 12:57
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

Successfully merging this pull request may close these issues.

2 participants