You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::FraudDetector::Types::MetricDataPoint

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Model performance metrics data points.

Instance Attribute Summary collapse

Instance Attribute Details

#fprFloat

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

Returns:

  • (Float)

    The false positive rate.

#precisionFloat

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

Returns:

  • (Float)

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

#thresholdFloat

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.

Returns:

  • (Float)

    The model threshold that specifies an acceptable fraud capture rate.

#tprFloat

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

Returns:

  • (Float)

    The true positive rate.