Struct aws_sdk_forecast::model::continuous_parameter_range::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ContinuousParameterRange.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_max_value(self, input: Option<f64>) -> Self
pub fn set_max_value(self, input: Option<f64>) -> Self
The maximum tunable value of the hyperparameter.
sourcepub fn set_min_value(self, input: Option<f64>) -> Self
pub fn set_min_value(self, input: Option<f64>) -> Self
The minimum tunable value of the hyperparameter.
sourcepub fn scaling_type(self, input: ScalingType) -> Self
pub fn scaling_type(self, input: ScalingType) -> Self
The scale that hyperparameter tuning uses to search the hyperparameter range. Valid values:
- Auto
-
Amazon Forecast 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 values greater than 0.
- ReverseLogarithmic
-
hyperparameter tuning searches the values in the hyperparameter range by using a reverse logarithmic scale.
Reverse logarithmic scaling works only for ranges that are entirely within the range 0 <= x < 1.0.
For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:
sourcepub fn set_scaling_type(self, input: Option<ScalingType>) -> Self
pub fn set_scaling_type(self, input: Option<ScalingType>) -> Self
The scale that hyperparameter tuning uses to search the hyperparameter range. Valid values:
- Auto
-
Amazon Forecast 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 values greater than 0.
- ReverseLogarithmic
-
hyperparameter tuning searches the values in the hyperparameter range by using a reverse logarithmic scale.
Reverse logarithmic scaling works only for ranges that are entirely within the range 0 <= x < 1.0.
For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:
sourcepub fn build(self) -> ContinuousParameterRange
pub fn build(self) -> ContinuousParameterRange
Consumes the builder and constructs a ContinuousParameterRange.