@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Float |
tpr()
The true positive rate.
|
copy
public 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.