Skip to content

Instantly share code, notes, and snippets.

@Crazz-Zaac
Created January 2, 2021 09:16
Show Gist options
  • Save Crazz-Zaac/4b0f77a0df7d63abfafcc64dba6efc8a to your computer and use it in GitHub Desktop.
Save Crazz-Zaac/4b0f77a0df7d63abfafcc64dba6efc8a to your computer and use it in GitHub Desktop.
Evaluating the model's loss and accuracy
preds = happyModel.evaluate(X_test, Y_test, batch_size=32)
print()
print ("Loss = " + str(preds[0]))
print ("Test Accuracy = " + str(preds[1]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment