Skip to content

Silence marathon set_prior reconstraining warnings - #41

Merged
lawrennd merged 1 commit into
mainfrom
fix/hmc-marathon-set-prior-warnings
Nov 25, 2026
Merged

lawrennd merged 1 commit into
mainfrom
fix/hmc-marathon-set-prior-warnings

Conversation

@lawrennd

Copy link
Copy Markdown
Member

Summary

  • Follow-up to Fix HMC notebook priors for inferred X and noise #39: Gamma.set_prior re-applies +ve on already-constrained parameters and logs reconstraining WARNINGs that look like failures.
  • Pass warning=False, use plot=False, set the noise prior on Gaussian_noise.variance, and align it with Example 1 (from_EV(1., 10.)).

Test plan

  • Run the marathon prior cell; confirm no reconstraining WARNING
  • Run the following HMC cell against GPy main (require_priors=True)

@lawrennd
lawrennd merged commit 2533189 into main Nov 25, 2026
2 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.

1 participant