#[non_exhaustive]pub struct AggregatedLogOddsMetricBuilder { /* private fields */ }
Expand description
A builder for AggregatedLogOddsMetric
.
Implementations§
source§impl AggregatedLogOddsMetricBuilder
impl AggregatedLogOddsMetricBuilder
sourcepub fn variable_names(self, input: impl Into<String>) -> Self
pub fn variable_names(self, input: impl Into<String>) -> Self
Appends an item to variable_names
.
To override the contents of this collection use set_variable_names
.
The names of all the variables.
sourcepub fn set_variable_names(self, input: Option<Vec<String>>) -> Self
pub fn set_variable_names(self, input: Option<Vec<String>>) -> Self
The names of all the variables.
sourcepub fn get_variable_names(&self) -> &Option<Vec<String>>
pub fn get_variable_names(&self) -> &Option<Vec<String>>
The names of all the variables.
sourcepub fn aggregated_variables_importance(self, input: f32) -> Self
pub fn aggregated_variables_importance(self, input: f32) -> Self
The relative importance of the variables in the list to the other event variable.
This field is required.sourcepub fn set_aggregated_variables_importance(self, input: Option<f32>) -> Self
pub fn set_aggregated_variables_importance(self, input: Option<f32>) -> Self
The relative importance of the variables in the list to the other event variable.
sourcepub fn get_aggregated_variables_importance(&self) -> &Option<f32>
pub fn get_aggregated_variables_importance(&self) -> &Option<f32>
The relative importance of the variables in the list to the other event variable.
sourcepub fn build(self) -> Result<AggregatedLogOddsMetric, BuildError>
pub fn build(self) -> Result<AggregatedLogOddsMetric, BuildError>
Consumes the builder and constructs a AggregatedLogOddsMetric
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AggregatedLogOddsMetricBuilder
impl Clone for AggregatedLogOddsMetricBuilder
source§fn clone(&self) -> AggregatedLogOddsMetricBuilder
fn clone(&self) -> AggregatedLogOddsMetricBuilder
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 AggregatedLogOddsMetricBuilder
impl Default for AggregatedLogOddsMetricBuilder
source§fn default() -> AggregatedLogOddsMetricBuilder
fn default() -> AggregatedLogOddsMetricBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AggregatedLogOddsMetricBuilder
impl PartialEq for AggregatedLogOddsMetricBuilder
source§fn eq(&self, other: &AggregatedLogOddsMetricBuilder) -> bool
fn eq(&self, other: &AggregatedLogOddsMetricBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AggregatedLogOddsMetricBuilder
Auto Trait Implementations§
impl Freeze for AggregatedLogOddsMetricBuilder
impl RefUnwindSafe for AggregatedLogOddsMetricBuilder
impl Send for AggregatedLogOddsMetricBuilder
impl Sync for AggregatedLogOddsMetricBuilder
impl Unpin for AggregatedLogOddsMetricBuilder
impl UnwindSafe for AggregatedLogOddsMetricBuilder
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.