Skip to content

Commit

Permalink
Add CV note in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
seananderson committed Feb 22, 2024
1 parent 14c6469 commit 8675bc1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions R/cross-val.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ ll_sdmTMB <- function(object, withheld_y, withheld_mu) {
#' * `data`: Original data plus columns for fold ID, CV predicted value,
#' and CV log likelihood.
#' * `models`: A list of models; one per fold.
#' * `fold_loglik`: Sum of left-out log likelihoods per fold.
#' * `sum_loglik`: Sum of `fold_loglik` across all left-out data.
#' * `fold_loglik`: Sum of left-out log likelihoods per fold. More positive
#' values are better.
#' * `sum_loglik`: Sum of `fold_loglik` across all left-out data. More positive
#' values are better.
#' * `pdHess`: Logical vector: Hessian was invertible each fold?
#' * `converged`: Logical: all `pdHess` `TRUE`?
#' * `max_gradients`: Max gradient per fold.
Expand Down
6 changes: 4 additions & 2 deletions man/sdmTMB_cv.Rd

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

0 comments on commit 8675bc1

Please sign in to comment.