Interface TFIMetricDataPoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TFIMetricDataPoint.Builder,TFIMetricDataPoint>,SdkBuilder<TFIMetricDataPoint.Builder,TFIMetricDataPoint>,SdkPojo
- Enclosing class:
- TFIMetricDataPoint
public static interface TFIMetricDataPoint.Builder extends SdkPojo, CopyableBuilder<TFIMetricDataPoint.Builder,TFIMetricDataPoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TFIMetricDataPoint.Builderfpr(Float fpr)The false positive rate.TFIMetricDataPoint.Builderprecision(Float precision)The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.TFIMetricDataPoint.Builderthreshold(Float threshold)The model threshold that specifies an acceptable fraud capture rate.TFIMetricDataPoint.Buildertpr(Float tpr)The true positive rate.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
fpr
TFIMetricDataPoint.Builder fpr(Float fpr)
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
- Parameters:
fpr- The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
precision
TFIMetricDataPoint.Builder precision(Float precision)
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
- Parameters:
precision- The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tpr
TFIMetricDataPoint.Builder tpr(Float tpr)
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
- Parameters:
tpr- The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threshold
TFIMetricDataPoint.Builder threshold(Float threshold)
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.
- Parameters:
threshold- 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:
- Returns a reference to this object so that method calls can be chained together.
-
-