get_line1_2_13_subid | R Documentation |
calculate line 1 and 2 and 13 of ELBO to assess convergence and choose among converged estimates from many restarts
get_line1_2_13_subid( psi, g_psi, phi, g_phi, rmat, E_beta, E_beta_sq, E_eta, E_eta_sq, X, v_lookup )
psi, g_psi, phi, g_phi |
see |
rmat |
a matrix of variational probabilities of all observations belong to K classes; N by K; each row sums to 1 |
E_beta, E_beta_sq, E_eta, E_eta_sq |
moments during
VI updates from |
X |
transformed data: 2Y-1 |
v_lookup |
a vector of indicators; of size N, each indicating the leaf id (from 1 to pL) for each sample. |
line 1, 2, 13 of the ELBO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.