pub struct HyperParameterSpecification {
pub default_value: Option<String>,
pub description: Option<String>,
pub is_required: Option<bool>,
pub is_tunable: Option<bool>,
pub name: String,
pub range: Option<ParameterRange>,
pub type_: String,
}
Expand description
Defines a hyperparameter to be used by an algorithm.
Fields§
§default_value: Option<String>
The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.
description: Option<String>
A brief description of the hyperparameter.
is_required: Option<bool>
Indicates whether this hyperparameter is required.
is_tunable: Option<bool>
Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.
name: String
The name of this hyperparameter. The name must be unique.
range: Option<ParameterRange>
The allowed range for this hyperparameter.
type_: String
The type of this hyperparameter. The valid types are Integer
, Continuous
, Categorical
, and FreeText
.
Trait Implementations§
Source§impl Clone for HyperParameterSpecification
impl Clone for HyperParameterSpecification
Source§fn clone(&self) -> HyperParameterSpecification
fn clone(&self) -> HyperParameterSpecification
Returns a duplicate 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 HyperParameterSpecification
impl Debug for HyperParameterSpecification
Source§impl Default for HyperParameterSpecification
impl Default for HyperParameterSpecification
Source§fn default() -> HyperParameterSpecification
fn default() -> HyperParameterSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HyperParameterSpecification
impl<'de> Deserialize<'de> for HyperParameterSpecification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for HyperParameterSpecification
Auto Trait Implementations§
impl Freeze for HyperParameterSpecification
impl RefUnwindSafe for HyperParameterSpecification
impl Send for HyperParameterSpecification
impl Sync for HyperParameterSpecification
impl Unpin for HyperParameterSpecification
impl UnwindSafe for HyperParameterSpecification
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