View source: R/backend-cmdstanr.R
SBC_backend_cmdstan_variational | R Documentation |
cmdstanr
.Backend based on variational approximation via cmdstanr
.
SBC_backend_cmdstan_variational(model, ..., n_retries_init = 1)
model |
an object of class |
... |
other arguments passed to the |
n_retries_init |
number of times to retry the variational fit if the algorithm has trouble initializing (e.g. too many dropped evaluations (see https://discourse.mc-stan.org/t/advi-too-many-dropped-evaluations-even-for-well-behaved-models/24338), or "cannot compute ELBO using the initial variational distribution") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.