@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TFIMetricDataPoint extends Object implements Serializable, Cloneable, StructuredPojo
The performance metrics data points for Transaction Fraud Insights (TFI) model.
Constructor and Description |
---|
TFIMetricDataPoint() |
Modifier and Type | Method and Description |
---|---|
TFIMetricDataPoint |
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.
|
TFIMetricDataPoint |
withFpr(Float fpr)
The false positive rate.
|
TFIMetricDataPoint |
withPrecision(Float precision)
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as
fraudulent.
|
TFIMetricDataPoint |
withThreshold(Float threshold)
The model threshold that specifies an acceptable fraud capture rate.
|
TFIMetricDataPoint |
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 TFIMetricDataPoint 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 TFIMetricDataPoint 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 TFIMetricDataPoint 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 TFIMetricDataPoint 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 TFIMetricDataPoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.