Description Fields Methods See Also
StatSNMoE contains all the statistics associated to a SNMoE model. It mainly includes the E-Step of the ECM algorithm calculating the posterior distribution of the hidden variables, as well as the calculation of the log-likelhood.
piikMatrix of size (n, K) representing the probabilities π_{k}(x_{i}; Ψ) = P(z_{i} = k | x; Ψ) of the latent variable z_{i}, i = 1,…,n.
z_ikHard segmentation logical matrix of dimension (n, K) obtained by the Maximum a posteriori (MAP) rule: z_ik = 1 if z_ik = arg max_s τ_{is}; 0 otherwise, k = 1,…,K.
klasColumn matrix of the labels issued from z_ik. Its elements are
klas(i) = k, k = 1,…,K.
tikMatrix of size (n, K) giving the posterior probability τik that the observation yi originates from the k-th expert.
Ey_kMatrix of dimension (n, K) giving the estimated means of the experts.
EyColumn matrix of dimension n giving the estimated mean of the SNMoE.
Var_ykColumn matrix of dimension K giving the estimated means of the experts.
VaryColumn matrix of dimension n giving the estimated variance of the response.
loglikNumeric. Observed-data log-likelihood of the SNMoE model.
com_loglikNumeric. Complete-data log-likelihood of the SNMoE model.
stored_loglikNumeric vector. Stored values of the log-likelihood at each ECM iteration.
BICNumeric. Value of BIC (Bayesian Information Criterion).
ICLNumeric. Value of ICL (Integrated Completed Likelihood).
AICNumeric. Value of AIC (Akaike Information Criterion).
log_piik_fikMatrix of size (n, K) giving the values of the logarithm of the joint probability P(y_{i}, z_{i} = k | x, Ψ), i = 1,…,n.
log_sum_piik_fikColumn matrix of size m giving the values of log ∑_{k = 1}^{K} P(y_{i}, z_{i} = k | x, Ψ), i = 1,…,n.
E1ikConditional expectations of Ui (Matrix of size (n, K)).
E2ikConditional expectations of Ui^2 (Matrix of size (n, K)).
computeLikelihood(reg_irls)Method to compute the log-likelihood. reg_irls is the value of
the regularization part in the IRLS algorithm.
computeStats(paramSNMoE)Method used in the ECM algorithm to compute statistics based on
parameters provided by the object paramSNMoE of class
ParamSNMoE.
EStep(paramSNMoE)Method used in the ECM algorithm to update statistics based on parameters
provided by the object paramSNMoE of class ParamSNMoE
(prior and posterior probabilities).
MAP()MAP calculates values of the fields z_ik and klas
by applying the Maximum A Posteriori Bayes allocation rule.
z_{ik} = 1 if z_ik = arg max_{s} τ_{is}; 0 otherwise
ParamSNMoE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.