View source: R/marginal_p_gaussian.R
marginal_p_gaussian | R Documentation |
Internal function to estimate the marginals for Gaussian distributed data.
marginal_p_gaussian(x_i, thetai)
x_i |
A single variable/column of data |
thetai |
Estimated parameters corresponding to the single variable/column of data provided to x_i |
Estimate the marginals for a single column of data x_i
for each hidden variable with dimension dim_hidden. For continuous data we estimate p≤ft(y_{j} \mid x_{i}\right) / p≤ft(y_{j}\right) indirectly by using Bayes rule to rewrite this as p≤ft(x_{i} \mid y_{j}\right) / p≤ft(x_{i}\right), which can be estimated.
A three dimensional array of marginals with dimensions: (n_hidden, dim_hidden, n_samples)
- i.e. marginals for each data point in x_i given current n_hidden x dim_hidden parameter estimates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.