Skip to content

TFIMetricDataPoint

Source code in docs_src/capo_frauddetector/types/tfi_metric_data_point.py
class TFIMetricDataPoint(TypedDict, closed=True):
    fpr: NotRequired["capo_frauddetector.types.float.float"]
    """<p> The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud. </p>"""
    precision: NotRequired["capo_frauddetector.types.float.float"]
    """<p> The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent. </p>"""
    tpr: NotRequired["capo_frauddetector.types.float.float"]
    """<p> The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate. </p>"""
    threshold: NotRequired["capo_frauddetector.types.float.float"]
    """<p> The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud. </p>"""

fpr instance-attribute

fpr: NotRequired[float]

The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.

precision instance-attribute

precision: NotRequired[float]

The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.

threshold instance-attribute

threshold: NotRequired[float]

The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.

tpr instance-attribute

tpr: NotRequired[float]

The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.