stop_iter_cv_result: Function to get the stoppting iteration from CV

View source: R/cross-validation.R

stop_iter_cv_resultR Documentation

Function to get the stoppting iteration from CV

Description

Function to get the stoppting iteration from CV

Usage

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 Jan. 18, 2023, 1:11 a.m.