Skip to content

Instantly share code, notes, and snippets.

@nbortolotti
Last active August 15, 2018 13:30
Show Gist options
  • Save nbortolotti/6f26852901d9e0561aba748b1dc94e37 to your computer and use it in GitHub Desktop.
Save nbortolotti/6f26852901d9e0561aba748b1dc94e37 to your computer and use it in GitHub Desktop.
[model evaluation]Experience with iris dataset using tf.keras & tensorflow
loss, accuracy = model.evaluate(dataset_test, steps=32)
print("loss:%f"% (loss))
print("accuracy: %f"% (accuracy))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment