We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca3e225 commit 46c90d3Copy full SHA for 46c90d3
1 file changed
R/loo_moment_matching.R
@@ -151,6 +151,7 @@ loo_moment_match.default <- function(x, loo, post_draws, log_lik_i,
151
}
152
153
if (!is.null(loo$psis_object)) {
154
+ attr(loo$psis_object, "norm_const_log") <- matrixStats::colLogSumExps(loo$psis_object$log_weights)
155
loo$psis_object$diagnostics <- loo$diagnostics
156
157
0 commit comments