View source: R/estimate_parameters_bernoulli.R
estimate_parameters_bernoulli | R Documentation |
Internal function to estimate parameters for binary data
estimate_parameters_bernoulli(x_i, p_y_given_x_3d, smooth_marginals)
x_i |
A single variable/column of data |
p_y_given_x_3d |
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). |
smooth_marginals |
Boolean (TRUE/FALSE) which indicates whether Bayesian smoothing of marginal estimates should be used as described in Pepke, S., Ver Steeg, G. Comprehensive discovery of subsample gene expression components by information explanation: therapeutic implications in cancer. BMC Med Genomics 10, 12 (2017). https://doi.org/10.1186/s12920-017-0245-6 |
Estimates the probability of each dim_visible occurring for each dim_hidden across each n_hidden.
Returns a 3D array of dimensions (2, n_hidden, dim_hidden) that represent the probability of each dim_visible occurring for each dim_hidden across each n_hidden.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.