Skip to content

Instantly share code, notes, and snippets.

@algonacci
Created April 15, 2022 17:07
Show Gist options
  • Select an option

  • Save algonacci/ddbf634a7bb810631c2ca6507825e80a to your computer and use it in GitHub Desktop.

Select an option

Save algonacci/ddbf634a7bb810631c2ca6507825e80a to your computer and use it in GitHub Desktop.
The easiest way to plot the model history metrics
import pandas as pd
evaluation = pd.DataFrame(model.history.history)
evaluation[['accuracy', 'val_accuracy']].plot()
evaluation[['loss', 'val_loss']].plot()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment