Created
April 9, 2023 12:21
-
-
Save doleron/1f772ac83de851e8ca7227e42a450066 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metrics = model.evaluate(validation_ds) | |
test_loss = metrics[0] | |
test_accuracy = metrics[1] | |
test_precision = metrics[2] | |
test_recall = metrics[3] | |
print("Test Loss = {:.4f}, Test Accuracy = {:.4f}, Test Precision = {:.4f}, Test Recall = {:.4f}" | |
.format(test_loss, test_accuracy, test_precision, test_recall)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment