You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a GammaPrior in conjunction with the GaussianLikelihood can lead to sampling errors with Pyro. This is because the default GaussianLikelihood noise_constraint is [1e-4, \infty), while the GammaLikelihood has support over (0, \infty). When the GammaLikelihood samples a < 1e-4 value, the resulting noise parameter is NaN.
In general, we should set the default noise constraint to match the support of the prior, or we should remove the default noise constraint when using a prior.
@Balandat what would be the least breaking approach with BoTorch?
🐛 Bug
Using a GammaPrior in conjunction with the GaussianLikelihood can lead to sampling errors with Pyro. This is because the default GaussianLikelihood noise_constraint is
[1e-4, \infty)
, while the GammaLikelihood has support over(0, \infty)
. When the GammaLikelihood samples a < 1e-4 value, the resulting noise parameter is NaN.In general, we should set the default noise constraint to match the support of the prior, or we should remove the default noise constraint when using a prior.
@Balandat what would be the least breaking approach with BoTorch?
(See #2643)
To reproduce
** Code snippet to reproduce **
** Stack trace/error message **
System information
The text was updated successfully, but these errors were encountered: