[Keras] How to snapshot your model after x epochs based on custom metrics like AUC Machine Learning | Python This post is about how to snapshot your model based on custom validation metrics. First we define the custom metric, as shown here. In this case we use the AUC score: import tensorflow as tf from sklearn.metrics import roc_auc_score def… March 14, 2019 1 Comment Read more