### Implement ``early_stopping`` callback for the training method. There is currently no mechanism to prevent over-fitting during the training.
Implement
early_stoppingcallback for the training method.There is currently no mechanism to prevent over-fitting during the training.