# NOT RUN {
# In this example, the early termination policy is applied at every
# interval starting at evaluation interval 5. A run will be terminated at
# interval 5 if its best primary metric is worse than the median of the
# running averages over intervals 1:5 across all training runs
# }
# NOT RUN {
early_termination_policy = median_stopping_policy(evaluation_interval = 1L,
delay_evaluation = 5L)
# }
Run the code above in your browser using DataLab