Module: tf.contrib.eager.metrics
Stay organized with collections
Save and categorize content based on your preferences.
Metrics namespace.
Classes
class Accuracy
: Calculates how often predictions
matches labels
.
class BinaryAccuracy
: Calculates how often predictions
matches labels
.
class CategoricalAccuracy
: Calculates how often predictions
matches labels
.
class Mean
: Computes the (weighted) mean of the given values.
class Metric
: A metric holds state for aggregating statistics over an evaluation run.
class SparseAccuracy
: Calculates how often predictions
matches labels
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# Module: tf.contrib.eager.metrics\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/eager/python/metrics.py) |\n\nMetrics namespace.\n\nClasses\n-------\n\n[`class Accuracy`](../../../tf/contrib/eager/metrics/Accuracy): Calculates how often `predictions` matches `labels`.\n\n[`class BinaryAccuracy`](../../../tf/contrib/eager/metrics/BinaryAccuracy): Calculates how often `predictions` matches `labels`.\n\n[`class CategoricalAccuracy`](../../../tf/contrib/eager/metrics/CategoricalAccuracy): Calculates how often `predictions` matches `labels`.\n\n[`class Mean`](../../../tf/contrib/eager/metrics/Mean): Computes the (weighted) mean of the given values.\n\n[`class Metric`](../../../tf/contrib/eager/metrics/Metric): A metric holds state for aggregating statistics over an evaluation run.\n\n[`class SparseAccuracy`](../../../tf/contrib/eager/metrics/SparseAccuracy): Calculates how often `predictions` matches `labels`."]]