src/sagemaker_xgboost_container/algorithm_mode/train.py [288:293]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    early_stopping_metric = None
    if early_stopping_rounds:
        if tuning_objective_metric:
            early_stopping_metric = tuning_objective_metric[-1]
        elif eval_metric:
            early_stopping_metric = eval_metric[-1]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/sagemaker_xgboost_container/distributed_gpu/distributed_gpu_training.py [146:151]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            early_stopping_metric = None
            if early_stopping_rounds:
                if tuning_objective_metric:
                    early_stopping_metric = tuning_objective_metric[-1]
                elif eval_metric:
                    early_stopping_metric = eval_metric[-1]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



