Skip to content

Commit

Permalink
Small fix in loo_model_weights doc
Browse files Browse the repository at this point in the history
Mention that K-fold-CV can be sued with `pseudobma_weights()`, too
  • Loading branch information
avehtari authored Oct 4, 2024
1 parent 6e7001e commit a27067c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/loo_model_weights.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
#' log-likelihood matrices then [loo()] is called internally on each matrix.
#' Currently the `loo_model_weights()` function is not implemented to be used
#' with results from K-fold CV, but you can still obtain weights using K-fold
#' CV results by calling the `stacking_weights()` function directly.
#' CV results by calling the `stacking_weights()` or `pseudobma_weights()`
#' function directly.
#' @param method Either `"stacking"` (the default) or `"pseudobma"`, indicating which method
#' to use for obtaining the weights. `"stacking"` refers to stacking of
#' predictive distributions and `"pseudobma"` refers to pseudo-BMA+ weighting
Expand Down

0 comments on commit a27067c

Please sign in to comment.