Struct aws_sdk_frauddetector::types::TfiModelPerformance
source · #[non_exhaustive]pub struct TfiModelPerformance {
pub auc: Option<f32>,
pub uncertainty_range: Option<UncertaintyRange>,
}
Expand description
The Transaction Fraud Insights (TFI) model performance score.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.auc: Option<f32>
The area under the curve (auc). This summarizes the total positive rate (tpr) and false positive rate (FPR) across all possible model score thresholds.
uncertainty_range: Option<UncertaintyRange>
Indicates the range of area under curve (auc) expected from the TFI model. A range greater than 0.1 indicates higher model uncertainity.
Implementations§
source§impl TfiModelPerformance
impl TfiModelPerformance
sourcepub fn auc(&self) -> Option<f32>
pub fn auc(&self) -> Option<f32>
The area under the curve (auc). This summarizes the total positive rate (tpr) and false positive rate (FPR) across all possible model score thresholds.
sourcepub fn uncertainty_range(&self) -> Option<&UncertaintyRange>
pub fn uncertainty_range(&self) -> Option<&UncertaintyRange>
Indicates the range of area under curve (auc) expected from the TFI model. A range greater than 0.1 indicates higher model uncertainity.
source§impl TfiModelPerformance
impl TfiModelPerformance
sourcepub fn builder() -> TfiModelPerformanceBuilder
pub fn builder() -> TfiModelPerformanceBuilder
Creates a new builder-style object to manufacture TfiModelPerformance
.
Trait Implementations§
source§impl Clone for TfiModelPerformance
impl Clone for TfiModelPerformance
source§fn clone(&self) -> TfiModelPerformance
fn clone(&self) -> TfiModelPerformance
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TfiModelPerformance
impl Debug for TfiModelPerformance
source§impl PartialEq for TfiModelPerformance
impl PartialEq for TfiModelPerformance
source§fn eq(&self, other: &TfiModelPerformance) -> bool
fn eq(&self, other: &TfiModelPerformance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TfiModelPerformance
Auto Trait Implementations§
impl Freeze for TfiModelPerformance
impl RefUnwindSafe for TfiModelPerformance
impl Send for TfiModelPerformance
impl Sync for TfiModelPerformance
impl Unpin for TfiModelPerformance
impl UnwindSafe for TfiModelPerformance
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.