parameters {
real theta;
}
model {
theta ~ normal(0,1);
}
9900 0.0 4.825 2.701 MAY BE DIVERGING... INSPECT ELBO
10000 -0.1 4.864 2.701 MAY BE DIVERGING... INSPECT ELBO
MAX ITERATIONS REACHED
Inference for Stan model: normal_model
1 chains: each with iter=(1001); warmup=(0); thin=(0); 1001 iterations saved.
Warmup took (0.00) seconds, 0.00 seconds total
Sampling took (0.00) seconds, 0.00 seconds total
Mean MCSE StdDev 5% 50% 95% N_Eff N_Eff/s R_hat
lp__ -1.3e+00 0.018 0.56 -2.4 -1.1 -0.92 999 inf 1.00
theta -9.8e-02 0.029 0.87 -1.5 -0.12 1.4 886 inf 1.0
Samples were drawn using meanfield with .
For each parameter, N_Eff is a crude measure of effective sample size,
and R_hat is the potential scale reduction factor on split chains (at
convergence, R_hat=1).
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> Even for a simple model it hits its maximum number of iterations with the default argumentsThat’s… rather unfortunate. I think for such simple models, this can easily be solved by doing the adaptation of the learning rate hyperparameter as Andrew mentioned. Alp and I are working on that now. The general idea is to write this as part of a new “warm up” stage for ADVI. Not sure when we’ll get it done.
The state of the variational approximation at that time.
> That seems suboptimal. On one hand, I could see how it might be safer to not even draw from the multivariate normal if it hits the iteration limit. On the other hand, we could cache the best ELBO evaluation. But either seems better than taking a chance that the last state is randomly awful and then letting the user make inferences from the result.Generally I would agree although we have to be a bit careful about this. This is because that answer naturally extends to what we would do in the case when it does converge. And that latter question is foundational (and unaddressed) in optimization: should we output the last set of parameter estimates or the best set of parameter estimates according to the objective function?
i didn't quite understand the motivation behind ben's model.
we're drawing from the prior and the "likelihood" doesn't exist (it's a deterministic identity function). in addition, there are no observed variables (data).
as for the warning "INSPECT ELBO", that's a total heuristic. that being said, for this "model", the warning is warranted since the ELBO is not even defined (there is no evidence, i.e. p(data), to lower-bound, no?). i think i'm a bit confused.
i agree with the rest of the discussion -- dustin seems to have taken action on the important points.
cheers
alp
i didn't quite understand the motivation behind ben's model.
--
You received this message because you are subscribed to a topic in the Google Groups "stan development mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stan-dev/IB9BIGS1F_8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stan-dev+u...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "stan development mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stan-dev/IB9BIGS1F_8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stan-dev+u...@googlegroups.com.