#[non_exhaustive]pub struct UpdateMlModelInput {
pub ml_model_id: Option<String>,
pub ml_model_name: Option<String>,
pub score_threshold: Option<f32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ml_model_id: Option<String>
The ID assigned to the MLModel
during creation.
ml_model_name: Option<String>
A user-supplied name or description of the MLModel
.
score_threshold: Option<f32>
The ScoreThreshold
used in binary classification MLModel
that marks the boundary between a positive prediction and a negative prediction.
Output values greater than or equal to the ScoreThreshold
receive a positive result from the MLModel
, such as true
. Output values less than the ScoreThreshold
receive a negative response from the MLModel
, such as false
.
Implementations§
source§impl UpdateMlModelInput
impl UpdateMlModelInput
sourcepub fn ml_model_id(&self) -> Option<&str>
pub fn ml_model_id(&self) -> Option<&str>
The ID assigned to the MLModel
during creation.
sourcepub fn ml_model_name(&self) -> Option<&str>
pub fn ml_model_name(&self) -> Option<&str>
A user-supplied name or description of the MLModel
.
sourcepub fn score_threshold(&self) -> Option<f32>
pub fn score_threshold(&self) -> Option<f32>
The ScoreThreshold
used in binary classification MLModel
that marks the boundary between a positive prediction and a negative prediction.
Output values greater than or equal to the ScoreThreshold
receive a positive result from the MLModel
, such as true
. Output values less than the ScoreThreshold
receive a negative response from the MLModel
, such as false
.
source§impl UpdateMlModelInput
impl UpdateMlModelInput
sourcepub fn builder() -> UpdateMlModelInputBuilder
pub fn builder() -> UpdateMlModelInputBuilder
Creates a new builder-style object to manufacture UpdateMlModelInput
.
Trait Implementations§
source§impl Clone for UpdateMlModelInput
impl Clone for UpdateMlModelInput
source§fn clone(&self) -> UpdateMlModelInput
fn clone(&self) -> UpdateMlModelInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateMlModelInput
impl Debug for UpdateMlModelInput
source§impl PartialEq for UpdateMlModelInput
impl PartialEq for UpdateMlModelInput
source§fn eq(&self, other: &UpdateMlModelInput) -> bool
fn eq(&self, other: &UpdateMlModelInput) -> bool
self
and other
values to be equal, and is used
by ==
.