Description Usage Arguments Value
Compute the laplace approximation to the log evidence given the MAP parameters K, mu, sigSq as well as the prior covariance matrix K. Note that this is multiplied by an UN-KNOWN CONSTANT due to the improper priors over mu and sigSq. However, this unknown constant is always the same regardless of k and K, so this may be used to compute meaningful bayes factors between StPCA models.
1 | log_evidence(X, K, WHat, muHat, sigSqHat, H)
|
X |
Data |
K |
Prior covariance matrix |
WHat |
Loadings matrix |
Approximate log evidence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.