#[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 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 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 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 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<FlywheelModelEvaluationMetricsBuilder> for FlywheelModelEvaluationMetricsBuilder
impl PartialEq<FlywheelModelEvaluationMetricsBuilder> 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 ==.