@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDataPoint extends Object implements Serializable, Cloneable, StructuredPojo
Model performance metrics data points.
Constructor and Description |
---|
MetricDataPoint() |
Modifier and Type | Method and Description |
---|---|
MetricDataPoint |
clone() |
boolean |
equals(Object obj) |
Float |
getFpr()
The false positive rate.
|
Float |
getPrecision()
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as
fraudulent.
|
Float |
getThreshold()
The model threshold that specifies an acceptable fraud capture rate.
|
Float |
getTpr()
The true positive rate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFpr(Float fpr)
The false positive rate.
|
void |
setPrecision(Float precision)
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as
fraudulent.
|
void |
setThreshold(Float threshold)
The model threshold that specifies an acceptable fraud capture rate.
|
void |
setTpr(Float tpr)
The true positive rate.
|
String |
toString()
Returns a string representation of this object.
|
MetricDataPoint |
withFpr(Float fpr)
The false positive rate.
|
MetricDataPoint |
withPrecision(Float precision)
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as
fraudulent.
|
MetricDataPoint |
withThreshold(Float threshold)
The model threshold that specifies an acceptable fraud capture rate.
|
MetricDataPoint |
withTpr(Float tpr)
The true positive rate.
|
public void setFpr(Float fpr)
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
fpr
- The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted
as fraud.public Float getFpr()
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
public MetricDataPoint withFpr(Float fpr)
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
fpr
- The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted
as fraud.public void setPrecision(Float precision)
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
precision
- The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as
fraudulent.public Float getPrecision()
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
public MetricDataPoint withPrecision(Float precision)
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
precision
- The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as
fraudulent.public void setTpr(Float tpr)
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
tpr
- The true positive rate. This is the percentage of total fraud the model detects. Also known as capture
rate.public Float getTpr()
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
public MetricDataPoint withTpr(Float tpr)
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
tpr
- The true positive rate. This is the percentage of total fraud the model detects. Also known as capture
rate.public void setThreshold(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.
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 Float getThreshold()
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 withThreshold(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.
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 String toString()
toString
in class Object
Object.toString()
public MetricDataPoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.