update_rmat | R Documentation |
This function updates the N by K matrix rmat
in the package
update_rmat( psi, g_psi, phi, g_phi, X, E_beta, E_eta, E_beta_sq, E_eta_sq, v_lookup )
psi, g_psi, phi, g_phi |
local variational parameters |
X |
transformed data: 2Y-1 |
E_beta, E_eta, E_beta_sq, E_eta_sq |
moment updates produced by |
v_lookup |
a vector of length equal to the total number of rows in |
N by K variational multinomial probabilities; row sums are 1s.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.