Skip to content

Commit

Permalink
Merge pull request #279 from stan-dev/moment-match-k_threshold-doc
Browse files Browse the repository at this point in the history
loo_moment_match.R: fix doc for default k_threshold
  • Loading branch information
jgabry authored Oct 16, 2024
2 parents ec687ff + 70beb4b commit 4964220
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/loo_moment_matching.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#' reached, there will be a warning, and increasing `max_iters` may improve
#' accuracy.
#' @param k_threshold Threshold value for Pareto k values above which the moment
#' matching algorithm is used. The default value is `1 - 1 / log10(S)`,
#' matching algorithm is used. The default value is `min(1 - 1/log10(S), 0.7)`,
#' where `S` is the sample size.
#' @param split Logical; Indicate whether to do the split transformation or not
#' at the end of moment matching for each LOO fold.
Expand Down
3 changes: 2 additions & 1 deletion man/loo_model_weights.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/loo_moment_match.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4964220

Please sign in to comment.