stop_iter_cv_result: Function to get the stoppting iteration from CV

Description Usage Arguments

View source: R/cross-validation.R

Description

Function to get the stoppting iteration from CV

Usage

1
2
3
4
5
6
stop_iter_cv_result(
  res,
  thisFUN = mean,
  loss = "validloss",
  whichFUN = which.min
)

Arguments

res

result of cv call

thisFUN

aggregating function applied over folds

loss

which loss to use for decision

whichFUN

which function to use for decision


deepregression documentation built on Oct. 5, 2021, 1:06 a.m.