Class OFIMetricDataPoint
- java.lang.Object
-
- software.amazon.awssdk.services.frauddetector.model.OFIMetricDataPoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OFIMetricDataPoint.Builder,OFIMetricDataPoint>
@Generated("software.amazon.awssdk:codegen") public final class OFIMetricDataPoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OFIMetricDataPoint.Builder,OFIMetricDataPoint>
The Online Fraud Insights (OFI) model performance metrics data points.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOFIMetricDataPoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OFIMetricDataPoint.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Floatfpr()The false positive rate.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Floatprecision()The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.List<SdkField<?>>sdkFields()static Class<? extends OFIMetricDataPoint.Builder>serializableBuilderClass()Floatthreshold()The model threshold that specifies an acceptable fraud capture rate.OFIMetricDataPoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.Floattpr()The true positive rate.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fpr
public final Float fpr()
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
- Returns:
- The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
-
precision
public final Float precision()
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
- Returns:
- The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
-
tpr
public final Float tpr()
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
- Returns:
- The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
-
threshold
public final 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.
- Returns:
- 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.
-
toBuilder
public OFIMetricDataPoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OFIMetricDataPoint.Builder,OFIMetricDataPoint>
-
builder
public static OFIMetricDataPoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends OFIMetricDataPoint.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-