tfma.metrics.CoefficientOfDiscrimination

Coefficient of discrimination metric.

Inherits From: Metric

The coefficient of discrimination measures the differences between the average prediction for the positive examples and the average prediction for the negative examples.

The formula is: AVG(pred | label = 1) - AVG(pred | label = 0) More details can be found in the following paper: https://www.tandfonline.com/doi/abs/10.1198/tast.2009.08210

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.

from_config

View source

get_config

View source

Returns serializable config.