| fit_lcm_tree | R Documentation |
moretrees)Fit latent class model with tree-structured shrinkage over the observations
(this function largely follows Thomas, E.'s well-written package moretrees)
fit_lcm_tree( dsgn, vi_params_init, hyperparams_init, random_init, random_init_vals, tol, tol_hyper, max_iter, print_freq, quiet, plot_fig, shared_tau, update_hyper_freq, hyper_fixed )
dsgn |
a list of data organized according to the tree (see |
vi_params_init, hyperparams_init, random_init, random_init_vals, tol, tol_hyper, max_iter, print_freq, quiet, plot_fig, shared_tau, update_hyper_freq, hyper_fixed |
initial values and updating protocols. Explained more in the wrapper function |
a list with model updates. Because the variational posterior is comprised of familiar distributional forms that can be determined by the moments, the returned values are these moments:
vi_paramsnamed list of final variational parameter estimates
hyperparamsnamed list of final hyperparameter estimates
hyper_fixednamed list of fixed hyperparameters
ELBO_tracknumeric vector containing the values of the objective function (ELBO) at the end of every iteration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.