Closed fvisintini1 closed 1 year ago
The problem is that it doesn't know how to initialise prec
, but it can figure out how to initialise mean
. Try adding this:
prec.InitialiseTo(Gamma.PointMass(1.0));
Thanks, that solves it.
Hi Tom, I want to infer parameters of a model without prior knowledge. Setting their priors as uniform seems conceptually the right thing to do. However compilation fails due to scheduling constrains not satisfied.
I was able to reduce the code to the minimal working example. The problem arises when I use Gamma.Uniform. Setting the Gaussian to uniform works just fine. I can work around this (setting a very large variance on the Gamma), but maybe there is a better way?