#[non_exhaustive]pub struct VariableImportanceMetrics {
pub log_odds_metrics: Option<Vec<LogOddsMetric>>,
}
Expand description
The variable importance metrics details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.log_odds_metrics: Option<Vec<LogOddsMetric>>
List of variable metrics.
Implementations§
source§impl VariableImportanceMetrics
impl VariableImportanceMetrics
sourcepub fn log_odds_metrics(&self) -> &[LogOddsMetric]
pub fn log_odds_metrics(&self) -> &[LogOddsMetric]
List of variable metrics.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .log_odds_metrics.is_none()
.
source§impl VariableImportanceMetrics
impl VariableImportanceMetrics
sourcepub fn builder() -> VariableImportanceMetricsBuilder
pub fn builder() -> VariableImportanceMetricsBuilder
Creates a new builder-style object to manufacture VariableImportanceMetrics
.
Trait Implementations§
source§impl Clone for VariableImportanceMetrics
impl Clone for VariableImportanceMetrics
source§fn clone(&self) -> VariableImportanceMetrics
fn clone(&self) -> VariableImportanceMetrics
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 Debug for VariableImportanceMetrics
impl Debug for VariableImportanceMetrics
source§impl PartialEq for VariableImportanceMetrics
impl PartialEq for VariableImportanceMetrics
source§fn eq(&self, other: &VariableImportanceMetrics) -> bool
fn eq(&self, other: &VariableImportanceMetrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VariableImportanceMetrics
Auto Trait Implementations§
impl Freeze for VariableImportanceMetrics
impl RefUnwindSafe for VariableImportanceMetrics
impl Send for VariableImportanceMetrics
impl Sync for VariableImportanceMetrics
impl Unpin for VariableImportanceMetrics
impl UnwindSafe for VariableImportanceMetrics
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.