com.amazonaws.services.frauddetector.model

## Class MetricDataPoint

• ### Constructor Summary

Constructors
Constructor and Description
`MetricDataPoint()`
• ### Method Summary

All Methods
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.
• ### Methods inherited from class java.lang.Object

`getClass, notify, notifyAll, wait, wait, wait`
• ### Constructor Detail

• #### MetricDataPoint

`public MetricDataPoint()`
• ### Method Detail

• #### setFpr

`public void setFpr(Float fpr)`

The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.

Parameters:
`fpr` - The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
• #### getFpr

`public Float getFpr()`

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.
• #### withFpr

`public MetricDataPoint withFpr(Float fpr)`

The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.

Parameters:
`fpr` - The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
Returns:
Returns a reference to this object so that method calls can be chained together.
• #### setPrecision

`public void setPrecision(Float precision)`

The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.

Parameters:
`precision` - The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
• #### getPrecision

`public Float getPrecision()`

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.
• #### withPrecision

`public MetricDataPoint withPrecision(Float precision)`

The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.

Parameters:
`precision` - The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
Returns:
Returns a reference to this object so that method calls can be chained together.
• #### setTpr

`public void setTpr(Float tpr)`

The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.

Parameters:
`tpr` - The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
• #### getTpr

`public Float getTpr()`

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.
• #### withTpr

`public MetricDataPoint withTpr(Float tpr)`

The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.

Parameters:
`tpr` - The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
Returns:
Returns a reference to this object so that method calls can be chained together.
• #### setThreshold

`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.

Parameters:
`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.
• #### getThreshold

`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.

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.
• #### withThreshold

`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.

Parameters:
`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:
Returns a reference to this object so that method calls can be chained together.
• #### toString

`public 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.
Overrides:
`toString` in class `Object`
Returns:
A string representation of this object.
`Object.toString()`
• #### equals

`public boolean equals(Object obj)`
Overrides:
`equals` in class `Object`
• #### hashCode

`public int hashCode()`
Overrides:
`hashCode` in class `Object`
• #### clone

`public MetricDataPoint clone()`
Overrides:
`clone` in class `Object`
• #### marshall

`public void marshall(ProtocolMarshaller protocolMarshaller)`
Description copied from interface: `StructuredPojo`
Marshalls this structured data using the given `ProtocolMarshaller`.
Specified by:
`marshall` in interface `StructuredPojo`
Parameters:
`protocolMarshaller` - Implementation of `ProtocolMarshaller` used to marshall this object's data.
{"ft_lang_label":"__label__en","ft_lang_prob":0.77665585,"math_prob":0.74502575,"size":4985,"snap":"2022-27-2022-33","text_gpt3_token_len":1006,"char_repetition_ratio":0.15498896,"word_repetition_ratio":0.68758714,"special_character_ratio":0.1891675,"punctuation_ratio":0.08678757,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98305535,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-06-30T09:02:03Z\",\"WARC-Record-ID\":\"<urn:uuid:d0730706-778e-4a33-bc1d-32c7968cf76c>\",\"Content-Length\":\"41082\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:00f49ae9-b790-4ec3-abe5-16e2a53ab860>\",\"WARC-Concurrent-To\":\"<urn:uuid:ac0577ff-5072-40f1-82bf-2a3c9cba83b3>\",\"WARC-IP-Address\":\"13.32.151.50\",\"WARC-Target-URI\":\"https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/frauddetector/model/MetricDataPoint.html\",\"WARC-Payload-Digest\":\"sha1:IUUQSIDUL4GHH2LJORMLF6L7RC776G6S\",\"WARC-Block-Digest\":\"sha1:R4LDM54NXJF4GLAKAALUAOASACKJ3BBY\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656103669266.42_warc_CC-MAIN-20220630062154-20220630092154-00746.warc.gz\"}"}