Struct aws_sdk_frauddetector::types::OfiModelPerformance
source · #[non_exhaustive]pub struct OfiModelPerformance {
pub auc: Option<f32>,
pub uncertainty_range: Option<UncertaintyRange>,
}
Expand description
The Online Fraud Insights (OFI) 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 OFI model. A range greater than 0.1 indicates higher model uncertainity.
Implementations§
source§impl OfiModelPerformance
impl OfiModelPerformance
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 OFI model. A range greater than 0.1 indicates higher model uncertainity.
source§impl OfiModelPerformance
impl OfiModelPerformance
sourcepub fn builder() -> OfiModelPerformanceBuilder
pub fn builder() -> OfiModelPerformanceBuilder
Creates a new builder-style object to manufacture OfiModelPerformance
.
Trait Implementations§
source§impl Clone for OfiModelPerformance
impl Clone for OfiModelPerformance
source§fn clone(&self) -> OfiModelPerformance
fn clone(&self) -> OfiModelPerformance
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 OfiModelPerformance
impl Debug for OfiModelPerformance
source§impl PartialEq for OfiModelPerformance
impl PartialEq for OfiModelPerformance
source§fn eq(&self, other: &OfiModelPerformance) -> bool
fn eq(&self, other: &OfiModelPerformance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OfiModelPerformance
Auto Trait Implementations§
impl Freeze for OfiModelPerformance
impl RefUnwindSafe for OfiModelPerformance
impl Send for OfiModelPerformance
impl Sync for OfiModelPerformance
impl Unpin for OfiModelPerformance
impl UnwindSafe for OfiModelPerformance
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.