Skip to content

Commit 4964220

Browse files
authored
Merge pull request #279 from stan-dev/moment-match-k_threshold-doc
loo_moment_match.R: fix doc for default k_threshold
2 parents ec687ff + 70beb4b commit 4964220

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

R/loo_moment_matching.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#' reached, there will be a warning, and increasing `max_iters` may improve
2727
#' accuracy.
2828
#' @param k_threshold Threshold value for Pareto k values above which the moment
29-
#' matching algorithm is used. The default value is `1 - 1 / log10(S)`,
29+
#' matching algorithm is used. The default value is `min(1 - 1/log10(S), 0.7)`,
3030
#' where `S` is the sample size.
3131
#' @param split Logical; Indicate whether to do the split transformation or not
3232
#' at the end of moment matching for each LOO fold.

man/loo_model_weights.Rd

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/loo_moment_match.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)