We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 164f20d commit 1aede41Copy full SHA for 1aede41
R/mfairELBO.R
@@ -37,7 +37,7 @@ getELBO <- function(Y, object, obs_indices = NULL) {
37
) -
38
projSparse(
39
tcrossprod(as.matrix(mu_sq), as.matrix(nu_sq)), obs_indices
40
- ))
+ )) / 2
41
} else {
42
elbo2 <- -tau * sum(
43
(Y - tcrossprod(as.matrix(mu), as.matrix(nu)))^2 +
0 commit comments