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 Turing
using Optim
using StatsBase
@modelfunctiongdemo()
s ~InverseGamma(2,3)
m ~Normal(0, sqrt(s))
1.5~Normal(m, sqrt(s))
2.0~Normal(m, sqrt(s))
return m, s
end
model =gdemo()
# Use the default optimizer, LBFGS.
mle1 =optimize(model, MLE())
coeftable(mle1)
But it throws an error. Am I doing something wrong?
I am following the first example mentioned here https://discourse.julialang.org/t/ann-turing-0-13-0-mle-map-and-prediction/40033:
But it throws an error. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: