Backend based on variational approximation via cmdstanr.

SBC_backend_cmdstan_variational(model, ...)

Arguments

model

an object of class CmdStanModel (as created by cmdstanr::cmdstan_model)

...

other arguments passed to the $variational() method of the model. The data and parallel_chains arguments cannot be set this way as they need to be controlled by the SBC package.