Struct aws_sdk_frauddetector::types::TfiMetricDataPoint
source · #[non_exhaustive]pub struct TfiMetricDataPoint {
pub fpr: Option<f32>,
pub precision: Option<f32>,
pub tpr: Option<f32>,
pub threshold: Option<f32>,
}
Expand description
The performance metrics data points for Transaction Fraud Insights (TFI) model.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.fpr: Option<f32>
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
precision: Option<f32>
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
tpr: Option<f32>
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
threshold: Option<f32>
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.
Implementations§
source§impl TfiMetricDataPoint
impl TfiMetricDataPoint
sourcepub fn fpr(&self) -> Option<f32>
pub fn fpr(&self) -> Option<f32>
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
sourcepub fn precision(&self) -> Option<f32>
pub fn precision(&self) -> Option<f32>
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
source§impl TfiMetricDataPoint
impl TfiMetricDataPoint
sourcepub fn builder() -> TfiMetricDataPointBuilder
pub fn builder() -> TfiMetricDataPointBuilder
Creates a new builder-style object to manufacture TfiMetricDataPoint
.
Trait Implementations§
source§impl Clone for TfiMetricDataPoint
impl Clone for TfiMetricDataPoint
source§fn clone(&self) -> TfiMetricDataPoint
fn clone(&self) -> TfiMetricDataPoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TfiMetricDataPoint
impl Debug for TfiMetricDataPoint
source§impl PartialEq for TfiMetricDataPoint
impl PartialEq for TfiMetricDataPoint
source§fn eq(&self, other: &TfiMetricDataPoint) -> bool
fn eq(&self, other: &TfiMetricDataPoint) -> bool
self
and other
values to be equal, and is used
by ==
.