TPR#

class scio.eval.TPR(*, max_fpr=None, min_tnr=None, kind='pessimistic')[source]#

Bases: BaseDiscriminativePower

True Positive Rate.

Parameters:
  • max_fpr (float, optional) – Maximum False Positive Rate. Exactly one of max_fpr and min_tnr must be provided.

  • min_tnr (float, optional) – Minimum True Negative Rate. Exactly one of max_fpr and min_tnr must be provided.

  • kind (InterpolationKindLike) – See InterpolationKind. Defaults to "pessimistic".