earlyStopping: cAIC-based stopping criteria

Description Usage Arguments

View source: R/earlyStopping.R

Description

Determine the stopping iteration of cAICs based on the existence of lower values in the following "patience" iterations.

Usage

1
earlyStopping(cAIC, pat = 3, min_iters = 20)

Arguments

cAIC

a serices of cAICs.

pat

patient paramter, default is 3.

min_iters

the least number of boosting iterations the algorithm should perform, default is 20. The actual minimum is combined with pat parameter, i.e., "min_iters + pat".


FAUBZhang/BayesBoost documentation built on Dec. 17, 2021, 7:30 p.m.