tfma.metrics.ConfusionMatrixPlot

Confusion matrix plot.

Inherits From: Metric

num_thresholds Number of thresholds to use when discretizing the curve. Values must be > 1. Defaults to 1000.
name Metric name.
**kwargs (Optional) Additional args to pass along to init (and eventually on to _confusion_matrix_plot). These kwargs are useful for subclasses to pass information from their init to the create_computation_fn.

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.