View source: R/elbo_convergence.R View source: R/elbo_calculation.R
get_elbo | R Documentation |
Gets the elbo value for a single iteration of the algorithim
get_elbo( x, Y, K, phi_matrix, m_not_vector, nbasis, sigma_list, m_list, A_vector, R_vector, d_vector, probability_matrix, alpha_vector, beta_vector )
x |
The x used to generate the clusters |
Y |
The matrix containing rows corresponding the curves |
K |
The number of clusters in the data |
phi_matrix |
A matrix of the coffecient vectors for each cluster, phi_k, of the basis matrix B |
m_not_vector |
The vector containing m_not values for each cluster |
nbasis |
The number of basis functions |
m_list |
A list of the m parameters for each cluster |
A_vector |
A vector |
R_vector |
A vector |
d_vector |
A vector of the d parameters for each cluster |
probability_matrix |
A matrix in which the rows represent the probabilities that the curve is in each of the clusters |
alpha_vector |
A vector that in which the entries are the alpha parameters of the gamma distribution (1 / variance) of the curves in each cluster |
beta_vector |
A vector contain the beta vector for each cluster |
The elbo value
get_elbo(x, Y, K, phi_matrix, m_not_vector, nbasis, sigma_list, m_list, A_vector, R_vector, d_vector, probability_matrix, alpha_vector, beta_vector)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.