check_early_stopping_condition | R Documentation |
For the specified traits, we check if the validation set metric (and validation set AUC) has been decreasing in the last two steps. If also check if the average of the validation set metric and the validation set AUC has been decreasing in the last two steps. If no traits were provided, we check it for all the traits considered in SRRR.
check_early_stopping_condition(
ilam,
metric_val,
AUC_val = NULL,
traits = NULL,
weight = NULL,
check_average = TRUE,
stopping.lag = 2
)
ilam |
Lambda index |
metric_val |
Validation set metric |
AUC_val |
Validation set AUC |
traits |
(optional) subset of traits |
weight |
weights (named list) for the weighted average computation. |
check_average |
whether to check the average of the metrics |
stopping.lag |
how many iterations shall we wait after the argmax until we stop |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.