From 2940b356dfaf06ffb421968ba9cb163f0edde013 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 11 Aug 2020 11:50:51 -0700 Subject: [PATCH] Fix typos in the doc. PiperOrigin-RevId: 326068303 Change-Id: I7ffc0560b3ba23055e6e5fe29166747748fbc1aa --- tensorflow/python/keras/metrics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/keras/metrics.py b/tensorflow/python/keras/metrics.py index 6b53a02ce05..b3f391c7897 100644 --- a/tensorflow/python/keras/metrics.py +++ b/tensorflow/python/keras/metrics.py @@ -644,7 +644,7 @@ class MeanMetricWrapper(Mean): @keras_export('keras.metrics.Accuracy') class Accuracy(MeanMetricWrapper): - """Calculates how often predictions equals labels. + """Calculates how often predictions equal labels. This metric creates two local variables, `total` and `count` that are used to compute the frequency with which `y_pred` matches `y_true`. This frequency is @@ -686,7 +686,7 @@ class Accuracy(MeanMetricWrapper): @keras_export('keras.metrics.BinaryAccuracy') class BinaryAccuracy(MeanMetricWrapper): - """Calculates how often predictions matches binary labels. + """Calculates how often predictions match binary labels. This metric creates two local variables, `total` and `count` that are used to compute the frequency with which `y_pred` matches `y_true`. This frequency is