Class: Aws::FraudDetector::Types::LabelSchema
- Inherits:
-
Struct
- Object
- Struct
- Aws::FraudDetector::Types::LabelSchema
- Defined in:
- gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb
Overview
The label schema.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#label_mapper ⇒ Hash<String,Array<String>>
The label mapper maps the Amazon Fraud Detector supported model classification labels (
FRAUD
,LEGIT
) to the appropriate event type labels. -
#unlabeled_events_treatment ⇒ String
The action to take for unlabeled events.
Instance Attribute Details
#label_mapper ⇒ Hash<String,Array<String>>
The label mapper maps the Amazon Fraud Detector supported model
classification labels (FRAUD
, LEGIT
) to the appropriate event
type labels. For example, if "FRAUD
" and "LEGIT
" are Amazon
Fraud Detector supported labels, this mapper could be: \{"FRAUD" =>
["0"]
, "LEGIT" => ["1"]\}
or \{"FRAUD" => ["false"]
, "LEGIT"
=> ["true"]\}
or \{"FRAUD" => ["fraud", "abuse"]
, "LEGIT" =>
["legit", "safe"]\}
. The value part of the mapper is a list,
because you may have multiple label variants from your event type
for a single Amazon Fraud Detector label.
2996 2997 2998 2999 3000 3001 |
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 2996 class LabelSchema < Struct.new( :label_mapper, :unlabeled_events_treatment) SENSITIVE = [] include Aws::Structure end |
#unlabeled_events_treatment ⇒ String
The action to take for unlabeled events.
2996 2997 2998 2999 3000 3001 |
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 2996 class LabelSchema < Struct.new( :label_mapper, :unlabeled_events_treatment) SENSITIVE = [] include Aws::Structure end |