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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-frauddetector/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)


3159
3160
3161
3162
3163
3164
3165
3166
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 3159

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)


3159
3160
3161
3162
3163
3164
3165
3166
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 3159

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)


3159
3160
3161
3162
3163
3164
3165
3166
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 3159

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)


3159
3160
3161
3162
3163
3164
3165
3166
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 3159

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