View source: R/gradients-likelihoods.R
gr_sum_logL_GP_clust | R Documentation |
Compute the gradient of a sum of Gaussian log-likelihoods, weighted by their mixture probabilities.
gr_sum_logL_GP_clust(hp, db, mixture, mean, kern, post_cov, pen_diag)
hp |
A tibble, data frame or named vector of hyper-parameters. |
db |
A tibble containing data we want to evaluate the logL on. Required columns: Input, Output. Additional covariate columns are allowed. |
mixture |
A tibble or data frame, indicating the mixture probabilities of each cluster for the new individual/task. |
mean |
A list of hyper-posterior mean parameters for all clusters. |
kern |
A kernel function. |
post_cov |
A list of hyper-posterior covariance parameters for all clusters. |
pen_diag |
A jitter term that is added to the covariance matrix to avoid numerical issues when inverting, in cases of nearly singular matrices. |
A named vector, corresponding to the value of the hyper-parameters' gradients for the mixture of Gaussian log-likelihoods involved in the prediction step of MagmaClust.
TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.