How to fix likelihood hyperparameter (observation noise variance) #511
|
Hi there, Is it possible to fix the observation noise variance (i.e., the likelihood noise hyperparameter) to a constant value, rather than allowing it to be optimized during training? In my use case, I have prior knowledge about the noise level in the observations, and I’d prefer to keep this parameter fixed to ensure consistency across experiments. This post is potentially related to #481, though I didn't see any replies there. Regards, |
Answered by
thomaspinder
Apr 22, 2025
Replies: 2 comments
|
Hey! Yes, you can do it by the following import gpjax as gpx
from gpjax.parameters import Static
sigma_true = 0.2
likelihood = gpx.likelihoods.Gaussian(num_datapoints=n, obs_stddev=Static(sigma_true)) |
0 replies
Answer selected by
chaozg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! Yes, you can do it by the following