View source: R/earlyStopping.R
Determine the stopping iteration of cAICs based on the existence of lower values in the following "patience" iterations.
1 | earlyStopping(cAIC, pat = 3, min_iters = 20)
|
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". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.