Missed TensorFlow World? Check out the recap. Learn more

tf.keras.metrics.binary_accuracy

View source on GitHub

Aliases:

  • tf.compat.v1.keras.metrics.binary_accuracy
  • tf.compat.v2.keras.metrics.binary_accuracy
  • tf.compat.v2.metrics.binary_accuracy
  • tf.metrics.binary_accuracy
tf.keras.metrics.binary_accuracy(
    y_true,
    y_pred,
    threshold=0.5
)