Created
July 24, 2020 19:23
-
-
Save esmitt/dad84c04c337b0068f50a6c39e1d2c51 to your computer and use it in GitHub Desktop.
An example in how to compute the precision metric in Tensorflow 2
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
precision = Precision() | |
precision.update_state(y_train, y_train_pred) | |
precision.result().numpy() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment