I know that early stopping will happen if we don't have any improvement (or drop in performance) in the last X rounds. i.e. we need at least one round in the last X with little improvement, in order to continue.
But I read here: https://www.kaggle.com/vincentf/early-stopping-for-xgboost-python the following in-code comment:
stops 50 iterations after marginal improvements or drop in performance on your hold out set
- So, it seems that
marginal improvements
is likeno improvement
, is it right ? - If so, what is the value of
marginal improvements
? Can we set it's value ?