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
Hi @tminka, I tried your suggestion from #434, in order to infer some parameters, adding: prec.InitialiseTo(Gamma.PointMass(1.0)), but I got the following issues (I'm using dotnet 8.0):
Compilingmodel...compilation failed.
Unhandled exception. Microsoft.ML.Probabilistic.Compiler.CompilationFailedException: VariableTransform failed with3 error(s) and 0 warning(s):
Error 0: mean has PointEstimate but is not initialised in
mean = Factor.GaussianFromMeanAndVariance(0.0,100.0)
Error 1: mean has PointEstimate but InitialisationAffectsSchedule isfalseinmean= Factor.GaussianFromMeanAndVariance(0.0,100.0)
Error 2: prec has PointEstimate but InitialisationAffectsSchedule isfalseinprec= Factor.Random<double>(vGamma0)
When using PointEstimate, you must initialize the variable and you must set engine.Compiler.InitialisationAffectsSchedule to true. That's what the error message is saying.
Hi @tminka, I tried your suggestion from #434, in order to infer some parameters, adding:
prec.InitialiseTo(Gamma.PointMass(1.0))
, but I got the following issues (I'm using dotnet 8.0):I attach the code:
The text was updated successfully, but these errors were encountered: