compute_loading_elbo | R Documentation |
Compute the contribution of the loading matrix Evidence Lower Bound (ELBO) of a PLVM given the approximate posterior distribution for loadings, the prior correlation matrix, and ARD precision hyperparameters.
compute_loading_elbo( loading_expectation, loading_row_covariance, ard_precision, loading_prior_correlation_log_det = NULL, inv_loading_prior_correlation = NULL, loading_prior_correlation = NULL, perform_checks = TRUE )
loading_expectation |
A D'xL matrix of real numbers, The expected loading matrix. |
loading_row_covariance |
A LxLxD' array. The covariance of each row of the loading matrix under the approximate posterior distribution. |
ard_precision |
An L-dimensional vector of real numbers. The ARD precision hyper-parameters on the columns of the loading matrix. |
loading_prior_correlation_log_det |
A real valued scalar. The log determinant of the loading prior correlation matrix. |
inv_loading_prior_correlation |
A D'xD' matrix. The inverse of the loading prior correlation matrix. |
loading_prior_correlation |
A D'xD' matrix. The loading prior correlation matrix. |
perform_checks |
Logical. Check if function inputs are specified correctly. |
A real valued scalar. The contribution of the loading matrix to the ELBO under the approximate posterior distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.