#[non_exhaustive]pub struct HyperParameterSpecification {
    pub name: Option<String>,
    pub description: Option<String>,
    pub type: Option<ParameterType>,
    pub range: Option<ParameterRange>,
    pub is_tunable: Option<bool>,
    pub is_required: Option<bool>,
    pub default_value: Option<String>,
}Expand description
Defines a hyperparameter to be used by an algorithm.
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.name: Option<String>The name of this hyperparameter. The name must be unique.
description: Option<String>A brief description of the hyperparameter.
type: Option<ParameterType>The type of this hyperparameter. The valid types are Integer, Continuous, Categorical, and FreeText.
range: Option<ParameterRange>The allowed range for this hyperparameter.
is_tunable: Option<bool>Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.
is_required: Option<bool>Indicates whether this hyperparameter is required.
default_value: Option<String>The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.
Implementations§
source§impl HyperParameterSpecification
 
impl HyperParameterSpecification
sourcepub fn description(&self) -> Option<&str>
 
pub fn description(&self) -> Option<&str>
A brief description of the hyperparameter.
sourcepub fn type(&self) -> Option<&ParameterType>
 
pub fn type(&self) -> Option<&ParameterType>
The type of this hyperparameter. The valid types are Integer, Continuous, Categorical, and FreeText.
sourcepub fn range(&self) -> Option<&ParameterRange>
 
pub fn range(&self) -> Option<&ParameterRange>
The allowed range for this hyperparameter.
sourcepub fn is_tunable(&self) -> Option<bool>
 
pub fn is_tunable(&self) -> Option<bool>
Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.
sourcepub fn is_required(&self) -> Option<bool>
 
pub fn is_required(&self) -> Option<bool>
Indicates whether this hyperparameter is required.
sourcepub fn default_value(&self) -> Option<&str>
 
pub fn default_value(&self) -> Option<&str>
The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.
source§impl HyperParameterSpecification
 
impl HyperParameterSpecification
sourcepub fn builder() -> HyperParameterSpecificationBuilder
 
pub fn builder() -> HyperParameterSpecificationBuilder
Creates a new builder-style object to manufacture HyperParameterSpecification.
Trait Implementations§
source§impl Clone for HyperParameterSpecification
 
impl Clone for HyperParameterSpecification
source§fn clone(&self) -> HyperParameterSpecification
 
fn clone(&self) -> HyperParameterSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for HyperParameterSpecification
 
impl Debug for HyperParameterSpecification
source§impl PartialEq for HyperParameterSpecification
 
impl PartialEq for HyperParameterSpecification
source§fn eq(&self, other: &HyperParameterSpecification) -> bool
 
fn eq(&self, other: &HyperParameterSpecification) -> bool
self and other values to be equal, and is used
by ==.