Struct aws_sdk_personalize::types::HyperParameterRanges
source · #[non_exhaustive]pub struct HyperParameterRanges {
pub integer_hyper_parameter_ranges: Option<Vec<IntegerHyperParameterRange>>,
pub continuous_hyper_parameter_ranges: Option<Vec<ContinuousHyperParameterRange>>,
pub categorical_hyper_parameter_ranges: Option<Vec<CategoricalHyperParameterRange>>,
}Expand description
Specifies the hyperparameters and their ranges. Hyperparameters can be categorical, continuous, or integer-valued.
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_hyper_parameter_ranges: Option<Vec<IntegerHyperParameterRange>>The integer-valued hyperparameters and their ranges.
continuous_hyper_parameter_ranges: Option<Vec<ContinuousHyperParameterRange>>The continuous hyperparameters and their ranges.
categorical_hyper_parameter_ranges: Option<Vec<CategoricalHyperParameterRange>>The categorical hyperparameters and their ranges.
Implementations§
source§impl HyperParameterRanges
impl HyperParameterRanges
sourcepub fn integer_hyper_parameter_ranges(&self) -> &[IntegerHyperParameterRange]
pub fn integer_hyper_parameter_ranges(&self) -> &[IntegerHyperParameterRange]
The integer-valued hyperparameters and their ranges.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .integer_hyper_parameter_ranges.is_none().
sourcepub fn continuous_hyper_parameter_ranges(
&self
) -> &[ContinuousHyperParameterRange]
pub fn continuous_hyper_parameter_ranges( &self ) -> &[ContinuousHyperParameterRange]
The continuous hyperparameters and their ranges.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .continuous_hyper_parameter_ranges.is_none().
sourcepub fn categorical_hyper_parameter_ranges(
&self
) -> &[CategoricalHyperParameterRange]
pub fn categorical_hyper_parameter_ranges( &self ) -> &[CategoricalHyperParameterRange]
The categorical hyperparameters and their ranges.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .categorical_hyper_parameter_ranges.is_none().
source§impl HyperParameterRanges
impl HyperParameterRanges
sourcepub fn builder() -> HyperParameterRangesBuilder
pub fn builder() -> HyperParameterRangesBuilder
Creates a new builder-style object to manufacture HyperParameterRanges.
Trait Implementations§
source§impl Clone for HyperParameterRanges
impl Clone for HyperParameterRanges
source§fn clone(&self) -> HyperParameterRanges
fn clone(&self) -> HyperParameterRanges
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for HyperParameterRanges
impl Debug for HyperParameterRanges
source§impl PartialEq for HyperParameterRanges
impl PartialEq for HyperParameterRanges
source§fn eq(&self, other: &HyperParameterRanges) -> bool
fn eq(&self, other: &HyperParameterRanges) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HyperParameterRanges
Auto Trait Implementations§
impl Freeze for HyperParameterRanges
impl RefUnwindSafe for HyperParameterRanges
impl Send for HyperParameterRanges
impl Sync for HyperParameterRanges
impl Unpin for HyperParameterRanges
impl UnwindSafe for HyperParameterRanges
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> 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