Struct aws_sdk_sagemaker::types::IntegerParameterRange
source · #[non_exhaustive]pub struct IntegerParameterRange {
pub name: Option<String>,
pub min_value: Option<String>,
pub max_value: Option<String>,
pub scaling_type: Option<HyperParameterScalingType>,
}
Expand description
For a hyperparameter of the integer type, specifies the range that a hyperparameter tuning job searches.
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 the hyperparameter to search.
min_value: Option<String>
The minimum value of the hyperparameter to search.
max_value: Option<String>
The maximum value of the hyperparameter to search.
scaling_type: Option<HyperParameterScalingType>
The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:
- Auto
-
SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
- Linear
-
Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.
- Logarithmic
-
Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.
Logarithmic scaling works only for ranges that have only values greater than 0.
Implementations§
source§impl IntegerParameterRange
impl IntegerParameterRange
sourcepub fn scaling_type(&self) -> Option<&HyperParameterScalingType>
pub fn scaling_type(&self) -> Option<&HyperParameterScalingType>
The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:
- Auto
-
SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
- Linear
-
Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.
- Logarithmic
-
Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.
Logarithmic scaling works only for ranges that have only values greater than 0.
source§impl IntegerParameterRange
impl IntegerParameterRange
sourcepub fn builder() -> IntegerParameterRangeBuilder
pub fn builder() -> IntegerParameterRangeBuilder
Creates a new builder-style object to manufacture IntegerParameterRange
.
Trait Implementations§
source§impl Clone for IntegerParameterRange
impl Clone for IntegerParameterRange
source§fn clone(&self) -> IntegerParameterRange
fn clone(&self) -> IntegerParameterRange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IntegerParameterRange
impl Debug for IntegerParameterRange
source§impl PartialEq for IntegerParameterRange
impl PartialEq for IntegerParameterRange
source§fn eq(&self, other: &IntegerParameterRange) -> bool
fn eq(&self, other: &IntegerParameterRange) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IntegerParameterRange
Auto Trait Implementations§
impl Freeze for IntegerParameterRange
impl RefUnwindSafe for IntegerParameterRange
impl Send for IntegerParameterRange
impl Sync for IntegerParameterRange
impl Unpin for IntegerParameterRange
impl UnwindSafe for IntegerParameterRange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more