Struct aws_sdk_frauddetector::types::LogOddsMetric
source · #[non_exhaustive]pub struct LogOddsMetric {
pub variable_name: String,
pub variable_type: String,
pub variable_importance: f32,
}
Expand description
The log odds metric 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.variable_name: String
The name of the variable.
variable_type: String
The type of variable.
variable_importance: f32
The relative importance of the variable. For more information, see Model variable importance.
Implementations§
source§impl LogOddsMetric
impl LogOddsMetric
sourcepub fn variable_name(&self) -> &str
pub fn variable_name(&self) -> &str
The name of the variable.
sourcepub fn variable_type(&self) -> &str
pub fn variable_type(&self) -> &str
The type of variable.
sourcepub fn variable_importance(&self) -> f32
pub fn variable_importance(&self) -> f32
The relative importance of the variable. For more information, see Model variable importance.
source§impl LogOddsMetric
impl LogOddsMetric
sourcepub fn builder() -> LogOddsMetricBuilder
pub fn builder() -> LogOddsMetricBuilder
Creates a new builder-style object to manufacture LogOddsMetric
.
Trait Implementations§
source§impl Clone for LogOddsMetric
impl Clone for LogOddsMetric
source§fn clone(&self) -> LogOddsMetric
fn clone(&self) -> LogOddsMetric
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 LogOddsMetric
impl Debug for LogOddsMetric
source§impl PartialEq for LogOddsMetric
impl PartialEq for LogOddsMetric
source§fn eq(&self, other: &LogOddsMetric) -> bool
fn eq(&self, other: &LogOddsMetric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogOddsMetric
Auto Trait Implementations§
impl Freeze for LogOddsMetric
impl RefUnwindSafe for LogOddsMetric
impl Send for LogOddsMetric
impl Sync for LogOddsMetric
impl Unpin for LogOddsMetric
impl UnwindSafe for LogOddsMetric
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.