@Generated(value="software.amazon.awssdk:codegen") public final class MetricDataPoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDataPoint.Builder,MetricDataPoint>
Model performance metrics data points.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricDataPoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetricDataPoint.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Float |
fpr()
The false positive rate.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Float |
precision()
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as
fraudulent.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricDataPoint.Builder> |
serializableBuilderClass() |
Float |
threshold()
The model threshold that specifies an acceptable fraud capture rate.
|
MetricDataPoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Float |
tpr()
The true positive rate.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Float fpr()
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
public final Float precision()
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
public final Float tpr()
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
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.
public MetricDataPoint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricDataPoint.Builder,MetricDataPoint>public static MetricDataPoint.Builder builder()
public static Class<? extends MetricDataPoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.