tfma.metrics.Calibration

View source on GitHub

Calibration.

Inherits From: Metric

Calibration in this context is defined as the total weighted predictions / total weighted labels.

name Metric name.

compute_confidence_interval Whether to compute confidence intervals for this metric.

Note that this may not completely remove the computational overhead involved in computing a given metric. This is only respected by the jackknife confidence interval method.

Methods

computations

View source

Creates computations associated with metric.

get_config

View source

Returns serializable config.

is_model_independent

View source

Returns true if the metric does not depend on a model.