Struct aws_sdk_forecast::model::integer_parameter_range::Builder   
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for IntegerParameterRange.
Implementations
sourceimpl Builder
 
impl Builder
sourcepub fn set_max_value(self, input: Option<i32>) -> Self
 
pub fn set_max_value(self, input: Option<i32>) -> Self
The maximum tunable value of the hyperparameter.
sourcepub fn set_min_value(self, input: Option<i32>) -> Self
 
pub fn set_min_value(self, input: Option<i32>) -> 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
- 
Not supported for IntegerParameterRange.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
- 
Not supported for IntegerParameterRange.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) -> IntegerParameterRange
 
pub fn build(self) -> IntegerParameterRange
Consumes the builder and constructs a IntegerParameterRange.