Log-Likelihood for monitoring the EM algorithm in Magma
logL_monitoring(
hp_0,
hp_i,
db,
m_0,
kern_0,
kern_i,
post_mean,
post_cov,
pen_diag
)
A number, expectation of joint log-likelihood of the model. This quantity is supposed to increase at each step of the EM algorithm, and thus used for monitoring the procedure.
A named vector, tibble or data frame, containing the hyper-parameters associated with the mean GP.
A tibble or data frame, containing the hyper-parameters with the individual GPs.
A tibble or data frame. Columns required: ID, Input, Output. Additional columns for covariates can be specified.
A vector, corresponding to the prior mean of the mean GP.
A kernel function, associated with the mean GP.
A kernel function, associated with the individual GPs.
A tibble, coming out of the E step, containing the Input and associated Output of the hyper-posterior mean parameter.
A matrix, coming out of the E step, being the hyper-posterior covariance parameter.
A jitter term that is added to the covariance matrix to avoid numerical issues when inverting, in cases of nearly singular matrices.