Struct aws_sdk_sagemaker::types::ParameterRange
source · #[non_exhaustive]pub struct ParameterRange {
pub integer_parameter_range_specification: Option<IntegerParameterRangeSpecification>,
pub continuous_parameter_range_specification: Option<ContinuousParameterRangeSpecification>,
pub categorical_parameter_range_specification: Option<CategoricalParameterRangeSpecification>,
}
Expand description
Defines the possible values for categorical, continuous, and integer hyperparameters 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.integer_parameter_range_specification: Option<IntegerParameterRangeSpecification>
A IntegerParameterRangeSpecification
object that defines the possible values for an integer hyperparameter.
continuous_parameter_range_specification: Option<ContinuousParameterRangeSpecification>
A ContinuousParameterRangeSpecification
object that defines the possible values for a continuous hyperparameter.
categorical_parameter_range_specification: Option<CategoricalParameterRangeSpecification>
A CategoricalParameterRangeSpecification
object that defines the possible values for a categorical hyperparameter.
Implementations§
source§impl ParameterRange
impl ParameterRange
sourcepub fn integer_parameter_range_specification(
&self,
) -> Option<&IntegerParameterRangeSpecification>
pub fn integer_parameter_range_specification( &self, ) -> Option<&IntegerParameterRangeSpecification>
A IntegerParameterRangeSpecification
object that defines the possible values for an integer hyperparameter.
sourcepub fn continuous_parameter_range_specification(
&self,
) -> Option<&ContinuousParameterRangeSpecification>
pub fn continuous_parameter_range_specification( &self, ) -> Option<&ContinuousParameterRangeSpecification>
A ContinuousParameterRangeSpecification
object that defines the possible values for a continuous hyperparameter.
sourcepub fn categorical_parameter_range_specification(
&self,
) -> Option<&CategoricalParameterRangeSpecification>
pub fn categorical_parameter_range_specification( &self, ) -> Option<&CategoricalParameterRangeSpecification>
A CategoricalParameterRangeSpecification
object that defines the possible values for a categorical hyperparameter.
source§impl ParameterRange
impl ParameterRange
sourcepub fn builder() -> ParameterRangeBuilder
pub fn builder() -> ParameterRangeBuilder
Creates a new builder-style object to manufacture ParameterRange
.
Trait Implementations§
source§impl Clone for ParameterRange
impl Clone for ParameterRange
source§fn clone(&self) -> ParameterRange
fn clone(&self) -> ParameterRange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterRange
impl Debug for ParameterRange
source§impl PartialEq for ParameterRange
impl PartialEq for ParameterRange
impl StructuralPartialEq for ParameterRange
Auto Trait Implementations§
impl Freeze for ParameterRange
impl RefUnwindSafe for ParameterRange
impl Send for ParameterRange
impl Sync for ParameterRange
impl Unpin for ParameterRange
impl UnwindSafe for ParameterRange
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