#[non_exhaustive]pub struct AdapterVersionEvaluationMetricBuilder { /* private fields */ }
Expand description
A builder for AdapterVersionEvaluationMetric
.
Implementations§
source§impl AdapterVersionEvaluationMetricBuilder
impl AdapterVersionEvaluationMetricBuilder
sourcepub fn baseline(self, input: EvaluationMetric) -> Self
pub fn baseline(self, input: EvaluationMetric) -> Self
The F1 score, precision, and recall metrics for the baseline model.
sourcepub fn set_baseline(self, input: Option<EvaluationMetric>) -> Self
pub fn set_baseline(self, input: Option<EvaluationMetric>) -> Self
The F1 score, precision, and recall metrics for the baseline model.
sourcepub fn get_baseline(&self) -> &Option<EvaluationMetric>
pub fn get_baseline(&self) -> &Option<EvaluationMetric>
The F1 score, precision, and recall metrics for the baseline model.
sourcepub fn adapter_version(self, input: EvaluationMetric) -> Self
pub fn adapter_version(self, input: EvaluationMetric) -> Self
The F1 score, precision, and recall metrics for the baseline model.
sourcepub fn set_adapter_version(self, input: Option<EvaluationMetric>) -> Self
pub fn set_adapter_version(self, input: Option<EvaluationMetric>) -> Self
The F1 score, precision, and recall metrics for the baseline model.
sourcepub fn get_adapter_version(&self) -> &Option<EvaluationMetric>
pub fn get_adapter_version(&self) -> &Option<EvaluationMetric>
The F1 score, precision, and recall metrics for the baseline model.
sourcepub fn feature_type(self, input: FeatureType) -> Self
pub fn feature_type(self, input: FeatureType) -> Self
Indicates the feature type being analyzed by a given adapter version.
sourcepub fn set_feature_type(self, input: Option<FeatureType>) -> Self
pub fn set_feature_type(self, input: Option<FeatureType>) -> Self
Indicates the feature type being analyzed by a given adapter version.
sourcepub fn get_feature_type(&self) -> &Option<FeatureType>
pub fn get_feature_type(&self) -> &Option<FeatureType>
Indicates the feature type being analyzed by a given adapter version.
sourcepub fn build(self) -> AdapterVersionEvaluationMetric
pub fn build(self) -> AdapterVersionEvaluationMetric
Consumes the builder and constructs a AdapterVersionEvaluationMetric
.
Trait Implementations§
source§impl Clone for AdapterVersionEvaluationMetricBuilder
impl Clone for AdapterVersionEvaluationMetricBuilder
source§fn clone(&self) -> AdapterVersionEvaluationMetricBuilder
fn clone(&self) -> AdapterVersionEvaluationMetricBuilder
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 AdapterVersionEvaluationMetricBuilder
impl Default for AdapterVersionEvaluationMetricBuilder
source§fn default() -> AdapterVersionEvaluationMetricBuilder
fn default() -> AdapterVersionEvaluationMetricBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AdapterVersionEvaluationMetricBuilder
impl PartialEq for AdapterVersionEvaluationMetricBuilder
source§fn eq(&self, other: &AdapterVersionEvaluationMetricBuilder) -> bool
fn eq(&self, other: &AdapterVersionEvaluationMetricBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdapterVersionEvaluationMetricBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AdapterVersionEvaluationMetricBuilder
impl Send for AdapterVersionEvaluationMetricBuilder
impl Sync for AdapterVersionEvaluationMetricBuilder
impl Unpin for AdapterVersionEvaluationMetricBuilder
impl UnwindSafe for AdapterVersionEvaluationMetricBuilder
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.