View source: R/estimate_parameters_discrete.R
estimate_parameters_discrete | R Documentation |
Internal function to estimate parameters for data with discrete marginal description
estimate_parameters_discrete( x_i, p_y_given_x_3d, smooth_marginals, dim_visible )
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 |
dim_visible |
The dimension of the data provided in data - i.e. the number of discrete levels that exist in the data. Must be positive integer. |
Estimates the probability of each dim_visible occurring for each dim_hidden across each n_hidden.
Returns a 3D array of dimensions (dim_visible, 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.