Module: tf.contrib.eager.metrics

Defined in tensorflow/contrib/eager/python/metrics.py.

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.