tuning the early stopping metrics