ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


Threat score or critical success index (TS or CSI).

Inherits From: Metric

thresholds Thresholds to use. Defaults to [0.5].
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.



View source

Creates computations associated with metric.


View source

Returns serializable config.


View source

Function for computing metric value from TP, TN, FP, FN values.