Skip to content

Add regularisation term before Cholesky decomposition #459

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

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

aphc14
Copy link
Contributor

@aphc14 aphc14 commented Apr 17, 2025

Hi all,

This PR fixes #458.

Adding a regularisation term before the Cholesky decomp step helps avoid inf or nan values.

See working solution after the proposed changes: https://gist.github.com/aphc14/906e9853dba26321fb2ea1ef03cf2c1f

Note that it took approx 1.5 hours to run 2x paths, so I cancelled/interrupted training to stop at 2x paths rather than 4x paths.

Copy link
Member

@fonnesbeck fonnesbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fonnesbeck fonnesbeck merged commit f78d5b6 into pymc-devs:main Apr 17, 2025
5 checks passed
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.

Pathfinder failure fitting Mauna Loa GP example
2 participants