tf.compat.v1.metrics.true_positives_at_thresholds

View source on GitHub

Computes true positives at provided threshold values.

tf.compat.v1.metrics.true_positives_at_thresholds(
    labels, predictions, thresholds, weights=None, metrics_collections=None,
    updates_collections=None, name=None
)

If weights is None, weights default to 1. Use weights of 0 to mask values.

Args:

Returns:

Raises: