#[non_exhaustive]pub struct AtiMetricDataPointBuilder { /* private fields */ }
Expand description
A builder for AtiMetricDataPoint
.
Implementations§
source§impl AtiMetricDataPointBuilder
impl AtiMetricDataPointBuilder
sourcepub fn cr(self, input: f32) -> Self
pub fn cr(self, input: f32) -> Self
The challenge rate. This indicates the percentage of login events that the model recommends to challenge such as one-time password, multi-factor authentication, and investigations.
sourcepub fn set_cr(self, input: Option<f32>) -> Self
pub fn set_cr(self, input: Option<f32>) -> Self
The challenge rate. This indicates the percentage of login events that the model recommends to challenge such as one-time password, multi-factor authentication, and investigations.
sourcepub fn get_cr(&self) -> &Option<f32>
pub fn get_cr(&self) -> &Option<f32>
The challenge rate. This indicates the percentage of login events that the model recommends to challenge such as one-time password, multi-factor authentication, and investigations.
sourcepub fn adr(self, input: f32) -> Self
pub fn adr(self, input: f32) -> Self
The anomaly discovery rate. This metric quantifies the percentage of anomalies that can be detected by the model at the selected score threshold. A lower score threshold increases the percentage of anomalies captured by the model, but would also require challenging a larger percentage of login events, leading to a higher customer friction.
sourcepub fn set_adr(self, input: Option<f32>) -> Self
pub fn set_adr(self, input: Option<f32>) -> Self
The anomaly discovery rate. This metric quantifies the percentage of anomalies that can be detected by the model at the selected score threshold. A lower score threshold increases the percentage of anomalies captured by the model, but would also require challenging a larger percentage of login events, leading to a higher customer friction.
sourcepub fn get_adr(&self) -> &Option<f32>
pub fn get_adr(&self) -> &Option<f32>
The anomaly discovery rate. This metric quantifies the percentage of anomalies that can be detected by the model at the selected score threshold. A lower score threshold increases the percentage of anomalies captured by the model, but would also require challenging a larger percentage of login events, leading to a higher customer friction.
sourcepub fn threshold(self, input: f32) -> Self
pub fn threshold(self, input: f32) -> Self
The model's 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.
sourcepub fn set_threshold(self, input: Option<f32>) -> Self
pub fn set_threshold(self, input: Option<f32>) -> Self
The model's 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.
sourcepub fn get_threshold(&self) -> &Option<f32>
pub fn get_threshold(&self) -> &Option<f32>
The model's 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.
sourcepub fn atodr(self, input: f32) -> Self
pub fn atodr(self, input: f32) -> Self
The account takeover discovery rate. This metric quantifies the percentage of account compromise events that can be detected by the model at the selected score threshold. This metric is only available if 50 or more entities with at-least one labeled account takeover event is present in the ingested dataset.
sourcepub fn set_atodr(self, input: Option<f32>) -> Self
pub fn set_atodr(self, input: Option<f32>) -> Self
The account takeover discovery rate. This metric quantifies the percentage of account compromise events that can be detected by the model at the selected score threshold. This metric is only available if 50 or more entities with at-least one labeled account takeover event is present in the ingested dataset.
sourcepub fn get_atodr(&self) -> &Option<f32>
pub fn get_atodr(&self) -> &Option<f32>
The account takeover discovery rate. This metric quantifies the percentage of account compromise events that can be detected by the model at the selected score threshold. This metric is only available if 50 or more entities with at-least one labeled account takeover event is present in the ingested dataset.
sourcepub fn build(self) -> AtiMetricDataPoint
pub fn build(self) -> AtiMetricDataPoint
Consumes the builder and constructs a AtiMetricDataPoint
.
Trait Implementations§
source§impl Clone for AtiMetricDataPointBuilder
impl Clone for AtiMetricDataPointBuilder
source§fn clone(&self) -> AtiMetricDataPointBuilder
fn clone(&self) -> AtiMetricDataPointBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AtiMetricDataPointBuilder
impl Debug for AtiMetricDataPointBuilder
source§impl Default for AtiMetricDataPointBuilder
impl Default for AtiMetricDataPointBuilder
source§fn default() -> AtiMetricDataPointBuilder
fn default() -> AtiMetricDataPointBuilder
source§impl PartialEq for AtiMetricDataPointBuilder
impl PartialEq for AtiMetricDataPointBuilder
source§fn eq(&self, other: &AtiMetricDataPointBuilder) -> bool
fn eq(&self, other: &AtiMetricDataPointBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.