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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-frauddetector/types.rb

Overview

Model performance metrics data points.

Constant Summary collapse

SENSITIVE =
[]

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)


3377
3378
3379
3380
3381
3382
3383
3384
# File 'lib/aws-sdk-frauddetector/types.rb', line 3377

class MetricDataPoint < Struct.new(
  :fpr,
  :precision,
  :tpr,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end

#precisionFloat

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

Returns:

  • (Float)


3377
3378
3379
3380
3381
3382
3383
3384
# File 'lib/aws-sdk-frauddetector/types.rb', line 3377

class MetricDataPoint < Struct.new(
  :fpr,
  :precision,
  :tpr,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end

#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)


3377
3378
3379
3380
3381
3382
3383
3384
# File 'lib/aws-sdk-frauddetector/types.rb', line 3377

class MetricDataPoint < Struct.new(
  :fpr,
  :precision,
  :tpr,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end

#tprFloat

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

Returns:

  • (Float)


3377
3378
3379
3380
3381
3382
3383
3384
# File 'lib/aws-sdk-frauddetector/types.rb', line 3377

class MetricDataPoint < Struct.new(
  :fpr,
  :precision,
  :tpr,
  :threshold)
  SENSITIVE = []
  include Aws::Structure
end