Added --nb_validation_samples and --validation_error_threshold to terminate learning...