#[non_exhaustive]pub struct FlywheelModelEvaluationMetricsBuilder { /* private fields */ }Expand description
A builder for FlywheelModelEvaluationMetrics.
Implementations§
source§impl FlywheelModelEvaluationMetricsBuilder
impl FlywheelModelEvaluationMetricsBuilder
sourcepub fn average_f1_score(self, input: f64) -> Self
pub fn average_f1_score(self, input: f64) -> Self
The average F1 score from the evaluation metrics.
sourcepub fn set_average_f1_score(self, input: Option<f64>) -> Self
pub fn set_average_f1_score(self, input: Option<f64>) -> Self
The average F1 score from the evaluation metrics.
sourcepub fn get_average_f1_score(&self) -> &Option<f64>
pub fn get_average_f1_score(&self) -> &Option<f64>
The average F1 score from the evaluation metrics.
sourcepub fn average_precision(self, input: f64) -> Self
pub fn average_precision(self, input: f64) -> Self
Average precision metric for the model.
sourcepub fn set_average_precision(self, input: Option<f64>) -> Self
pub fn set_average_precision(self, input: Option<f64>) -> Self
Average precision metric for the model.
sourcepub fn get_average_precision(&self) -> &Option<f64>
pub fn get_average_precision(&self) -> &Option<f64>
Average precision metric for the model.
sourcepub fn average_recall(self, input: f64) -> Self
pub fn average_recall(self, input: f64) -> Self
Average recall metric for the model.
sourcepub fn set_average_recall(self, input: Option<f64>) -> Self
pub fn set_average_recall(self, input: Option<f64>) -> Self
Average recall metric for the model.
sourcepub fn get_average_recall(&self) -> &Option<f64>
pub fn get_average_recall(&self) -> &Option<f64>
Average recall metric for the model.
sourcepub fn average_accuracy(self, input: f64) -> Self
pub fn average_accuracy(self, input: f64) -> Self
Average accuracy metric for the model.
sourcepub fn set_average_accuracy(self, input: Option<f64>) -> Self
pub fn set_average_accuracy(self, input: Option<f64>) -> Self
Average accuracy metric for the model.
sourcepub fn get_average_accuracy(&self) -> &Option<f64>
pub fn get_average_accuracy(&self) -> &Option<f64>
Average accuracy metric for the model.
sourcepub fn build(self) -> FlywheelModelEvaluationMetrics
pub fn build(self) -> FlywheelModelEvaluationMetrics
Consumes the builder and constructs a FlywheelModelEvaluationMetrics.
Trait Implementations§
source§impl Clone for FlywheelModelEvaluationMetricsBuilder
impl Clone for FlywheelModelEvaluationMetricsBuilder
source§fn clone(&self) -> FlywheelModelEvaluationMetricsBuilder
fn clone(&self) -> FlywheelModelEvaluationMetricsBuilder
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 Default for FlywheelModelEvaluationMetricsBuilder
impl Default for FlywheelModelEvaluationMetricsBuilder
source§fn default() -> FlywheelModelEvaluationMetricsBuilder
fn default() -> FlywheelModelEvaluationMetricsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FlywheelModelEvaluationMetricsBuilder
impl PartialEq for FlywheelModelEvaluationMetricsBuilder
source§fn eq(&self, other: &FlywheelModelEvaluationMetricsBuilder) -> bool
fn eq(&self, other: &FlywheelModelEvaluationMetricsBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FlywheelModelEvaluationMetricsBuilder
Auto Trait Implementations§
impl Freeze for FlywheelModelEvaluationMetricsBuilder
impl RefUnwindSafe for FlywheelModelEvaluationMetricsBuilder
impl Send for FlywheelModelEvaluationMetricsBuilder
impl Sync for FlywheelModelEvaluationMetricsBuilder
impl Unpin for FlywheelModelEvaluationMetricsBuilder
impl UnwindSafe for FlywheelModelEvaluationMetricsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.