View source: R/normalise_latent.R
normalise_latent | R Documentation |
Internal function to normalise the latent variable distribution
normalise_latent(log_p_y_given_x_unnorm_3d)
log_p_y_given_x_unnorm_3d |
A 3D array with dimensions (n_hidden, n_samples, dim_hidden) containing the un-normalised latent variable distribution. |
Returns a list called out which contains two elements:
A 3D array of numerics in range (0, 1), that represent the probability that each observed x variable belongs to n_hidden latent variables of dimension dim_hidden. p_y_given_x_3d has dimensions (n_hidden, n_samples, dim_hidden).
A 2D matrix containing the pointwise estimate of total correlation explained by each latent variable for each sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.