This function is called when the training is finished, and it is used to set a flag for early stopping.
logs (dict) – Currently no data is passed to this argument for this method but that
future. (may change in the) –