#[non_exhaustive]pub struct VariableImportanceMetricsBuilder { /* private fields */ }
Expand description
A builder for VariableImportanceMetrics
.
Implementations§
source§impl VariableImportanceMetricsBuilder
impl VariableImportanceMetricsBuilder
sourcepub fn log_odds_metrics(self, input: LogOddsMetric) -> Self
pub fn log_odds_metrics(self, input: LogOddsMetric) -> Self
Appends an item to log_odds_metrics
.
To override the contents of this collection use set_log_odds_metrics
.
List of variable metrics.
sourcepub fn set_log_odds_metrics(self, input: Option<Vec<LogOddsMetric>>) -> Self
pub fn set_log_odds_metrics(self, input: Option<Vec<LogOddsMetric>>) -> Self
List of variable metrics.
sourcepub fn get_log_odds_metrics(&self) -> &Option<Vec<LogOddsMetric>>
pub fn get_log_odds_metrics(&self) -> &Option<Vec<LogOddsMetric>>
List of variable metrics.
sourcepub fn build(self) -> VariableImportanceMetrics
pub fn build(self) -> VariableImportanceMetrics
Consumes the builder and constructs a VariableImportanceMetrics
.
Trait Implementations§
source§impl Clone for VariableImportanceMetricsBuilder
impl Clone for VariableImportanceMetricsBuilder
source§fn clone(&self) -> VariableImportanceMetricsBuilder
fn clone(&self) -> VariableImportanceMetricsBuilder
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 VariableImportanceMetricsBuilder
impl Default for VariableImportanceMetricsBuilder
source§fn default() -> VariableImportanceMetricsBuilder
fn default() -> VariableImportanceMetricsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VariableImportanceMetricsBuilder
impl PartialEq for VariableImportanceMetricsBuilder
source§fn eq(&self, other: &VariableImportanceMetricsBuilder) -> bool
fn eq(&self, other: &VariableImportanceMetricsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VariableImportanceMetricsBuilder
Auto Trait Implementations§
impl Freeze for VariableImportanceMetricsBuilder
impl RefUnwindSafe for VariableImportanceMetricsBuilder
impl Send for VariableImportanceMetricsBuilder
impl Sync for VariableImportanceMetricsBuilder
impl Unpin for VariableImportanceMetricsBuilder
impl UnwindSafe for VariableImportanceMetricsBuilder
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.