thresholds#

property ROC.thresholds#

The threshold intervals associated with Pareto points.

Returns:

thresholds (NDArray[np.floating]) – Intervals for thresholds, to achieve the corresponding \((FP, TP)\) point from pareto. The lower bound is included and the upper bound is excluded, with the two following exceptions.

  1. A \(+\infty\) upper bound is included if and only if self.pareto[-1, 0] == self.N.

  2. A \(-\infty\) upper bound is a special case for the point \((0, 0)\), when it is not attainable via thresholding because a negative sample has a score of \(-\infty\).

Shape (n_pareto_points, 2).