#[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
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FlywheelModelEvaluationMetricsBuilder
Auto Trait Implementations§
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