Struct aws_sdk_frauddetector::types::MetricDataPoint
source · #[non_exhaustive]pub struct MetricDataPoint {
pub fpr: Option<f32>,
pub precision: Option<f32>,
pub tpr: Option<f32>,
pub threshold: Option<f32>,
}
Expand description
Model performance metrics data points.
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 MetricDataPoint
impl MetricDataPoint
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 MetricDataPoint
impl MetricDataPoint
sourcepub fn builder() -> MetricDataPointBuilder
pub fn builder() -> MetricDataPointBuilder
Creates a new builder-style object to manufacture MetricDataPoint
.
Trait Implementations§
source§impl Clone for MetricDataPoint
impl Clone for MetricDataPoint
source§fn clone(&self) -> MetricDataPoint
fn clone(&self) -> MetricDataPoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MetricDataPoint
impl Debug for MetricDataPoint
source§impl PartialEq for MetricDataPoint
impl PartialEq for MetricDataPoint
source§fn eq(&self, other: &MetricDataPoint) -> bool
fn eq(&self, other: &MetricDataPoint) -> bool
self
and other
values to be equal, and is used
by ==
.