stop_iter_cv_result: 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