#[non_exhaustive]pub struct OfiModelPerformanceBuilder { /* private fields */ }
Expand description
A builder for OfiModelPerformance
.
Implementations§
source§impl OfiModelPerformanceBuilder
impl OfiModelPerformanceBuilder
sourcepub fn auc(self, input: f32) -> Self
pub fn auc(self, input: f32) -> Self
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 set_auc(self, input: Option<f32>) -> Self
pub fn set_auc(self, input: Option<f32>) -> Self
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 get_auc(&self) -> &Option<f32>
pub fn get_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, input: UncertaintyRange) -> Self
pub fn uncertainty_range(self, input: UncertaintyRange) -> Self
Indicates the range of area under curve (auc) expected from the OFI model. A range greater than 0.1 indicates higher model uncertainity.
sourcepub fn set_uncertainty_range(self, input: Option<UncertaintyRange>) -> Self
pub fn set_uncertainty_range(self, input: Option<UncertaintyRange>) -> Self
Indicates the range of area under curve (auc) expected from the OFI model. A range greater than 0.1 indicates higher model uncertainity.
sourcepub fn get_uncertainty_range(&self) -> &Option<UncertaintyRange>
pub fn get_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.
sourcepub fn build(self) -> OfiModelPerformance
pub fn build(self) -> OfiModelPerformance
Consumes the builder and constructs a OfiModelPerformance
.
Trait Implementations§
source§impl Clone for OfiModelPerformanceBuilder
impl Clone for OfiModelPerformanceBuilder
source§fn clone(&self) -> OfiModelPerformanceBuilder
fn clone(&self) -> OfiModelPerformanceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OfiModelPerformanceBuilder
impl Debug for OfiModelPerformanceBuilder
source§impl Default for OfiModelPerformanceBuilder
impl Default for OfiModelPerformanceBuilder
source§fn default() -> OfiModelPerformanceBuilder
fn default() -> OfiModelPerformanceBuilder
source§impl PartialEq for OfiModelPerformanceBuilder
impl PartialEq for OfiModelPerformanceBuilder
source§fn eq(&self, other: &OfiModelPerformanceBuilder) -> bool
fn eq(&self, other: &OfiModelPerformanceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.