Description Usage Arguments Value See Also
View source: R/spike_and_slab_logistic_moretrees.R
spike_and_slab_logistic_moretrees()
fits MOReTreeS models for
binary data.
The posterior is approximated via variational inference.
This function returns the parameters of the variational approximation.
1 2 3 | spike_and_slab_logistic_moretrees(dsgn, vi_params_init, hyperparams_init,
random_init, random_init_vals, tol, tol_hyper, max_iter, print_freq,
update_hyper_freq, hyper_fixed)
|
dsgn |
list of outputs from |
vi_params_init, hyperparams_init, random_init, random_init_vals, tol, tol_hyper, max_iter, print_freq, update_hyper_freq, hyper_fixed |
see documentation for |
A named list containing the following entried:
vi_params
named list of final variational parameter estimates
hyperparams
named list of final hyperparameter estimates
hyper_fixed
named list of fixed hyperparameters
ELBO_track
numeric vector containing the values of the objective function (ELBO) at the end of every iteration
Other Internal VI functions: moretrees_init_logistic
,
update_hyperparams_logistic_moretrees
,
update_vi_params_logistic_moretrees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.