Interface LabelSchema.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<LabelSchema.Builder,,- LabelSchema> - SdkBuilder<LabelSchema.Builder,,- LabelSchema> - SdkPojo
- Enclosing class:
- LabelSchema
- 
Method SummaryModifier and TypeMethodDescriptionlabelMapper(Map<String, ? extends Collection<String>> labelMapper) The label mapper maps the Amazon Fraud Detector supported model classification labels (FRAUD,LEGIT) to the appropriate event type labels.unlabeledEventsTreatment(String unlabeledEventsTreatment) The action to take for unlabeled events.unlabeledEventsTreatment(UnlabeledEventsTreatment unlabeledEventsTreatment) The action to take for unlabeled events.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
labelMapperThe 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.- Parameters:
- labelMapper- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
unlabeledEventsTreatmentThe action to take for unlabeled events. - 
 Use IGNOREif you want the unlabeled events to be ignored. This is recommended when the majority of the events in the dataset are labeled.
- 
 Use FRAUDif you want to categorize all unlabeled events as “Fraud”. This is recommended when most of the events in your dataset are fraudulent.
- 
 Use LEGITif you want to categorize all unlabeled events as “Legit”. This is recommended when most of the events in your dataset are legitimate.
- 
 Use AUTOif you want Amazon Fraud Detector to decide how to use the unlabeled data. This is recommended when there is significant unlabeled events in the dataset.
 By default, Amazon Fraud Detector ignores the unlabeled data. - Parameters:
- unlabeledEventsTreatment- The action to take for unlabeled events.- 
        Use IGNOREif you want the unlabeled events to be ignored. This is recommended when the majority of the events in the dataset are labeled.
- 
        Use FRAUDif you want to categorize all unlabeled events as “Fraud”. This is recommended when most of the events in your dataset are fraudulent.
- 
        Use LEGITif you want to categorize all unlabeled events as “Legit”. This is recommended when most of the events in your dataset are legitimate.
- 
        Use AUTOif you want Amazon Fraud Detector to decide how to use the unlabeled data. This is recommended when there is significant unlabeled events in the dataset.
 - By default, Amazon Fraud Detector ignores the unlabeled data. 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
unlabeledEventsTreatmentThe action to take for unlabeled events. - 
 Use IGNOREif you want the unlabeled events to be ignored. This is recommended when the majority of the events in the dataset are labeled.
- 
 Use FRAUDif you want to categorize all unlabeled events as “Fraud”. This is recommended when most of the events in your dataset are fraudulent.
- 
 Use LEGITif you want to categorize all unlabeled events as “Legit”. This is recommended when most of the events in your dataset are legitimate.
- 
 Use AUTOif you want Amazon Fraud Detector to decide how to use the unlabeled data. This is recommended when there is significant unlabeled events in the dataset.
 By default, Amazon Fraud Detector ignores the unlabeled data. - Parameters:
- unlabeledEventsTreatment- The action to take for unlabeled events.- 
        Use IGNOREif you want the unlabeled events to be ignored. This is recommended when the majority of the events in the dataset are labeled.
- 
        Use FRAUDif you want to categorize all unlabeled events as “Fraud”. This is recommended when most of the events in your dataset are fraudulent.
- 
        Use LEGITif you want to categorize all unlabeled events as “Legit”. This is recommended when most of the events in your dataset are legitimate.
- 
        Use AUTOif you want Amazon Fraud Detector to decide how to use the unlabeled data. This is recommended when there is significant unlabeled events in the dataset.
 - By default, Amazon Fraud Detector ignores the unlabeled data. 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
 
-