#[non_exhaustive]pub struct HyperParameterRangesBuilder { /* private fields */ }
Expand description
A builder for HyperParameterRanges
.
Implementations§
source§impl HyperParameterRangesBuilder
impl HyperParameterRangesBuilder
sourcepub fn integer_hyper_parameter_ranges(
self,
input: IntegerHyperParameterRange
) -> Self
pub fn integer_hyper_parameter_ranges( self, input: IntegerHyperParameterRange ) -> Self
Appends an item to integer_hyper_parameter_ranges
.
To override the contents of this collection use set_integer_hyper_parameter_ranges
.
The integer-valued hyperparameters and their ranges.
sourcepub fn set_integer_hyper_parameter_ranges(
self,
input: Option<Vec<IntegerHyperParameterRange>>
) -> Self
pub fn set_integer_hyper_parameter_ranges( self, input: Option<Vec<IntegerHyperParameterRange>> ) -> Self
The integer-valued hyperparameters and their ranges.
sourcepub fn get_integer_hyper_parameter_ranges(
&self
) -> &Option<Vec<IntegerHyperParameterRange>>
pub fn get_integer_hyper_parameter_ranges( &self ) -> &Option<Vec<IntegerHyperParameterRange>>
The integer-valued hyperparameters and their ranges.
sourcepub fn continuous_hyper_parameter_ranges(
self,
input: ContinuousHyperParameterRange
) -> Self
pub fn continuous_hyper_parameter_ranges( self, input: ContinuousHyperParameterRange ) -> Self
Appends an item to continuous_hyper_parameter_ranges
.
To override the contents of this collection use set_continuous_hyper_parameter_ranges
.
The continuous hyperparameters and their ranges.
sourcepub fn set_continuous_hyper_parameter_ranges(
self,
input: Option<Vec<ContinuousHyperParameterRange>>
) -> Self
pub fn set_continuous_hyper_parameter_ranges( self, input: Option<Vec<ContinuousHyperParameterRange>> ) -> Self
The continuous hyperparameters and their ranges.
sourcepub fn get_continuous_hyper_parameter_ranges(
&self
) -> &Option<Vec<ContinuousHyperParameterRange>>
pub fn get_continuous_hyper_parameter_ranges( &self ) -> &Option<Vec<ContinuousHyperParameterRange>>
The continuous hyperparameters and their ranges.
sourcepub fn categorical_hyper_parameter_ranges(
self,
input: CategoricalHyperParameterRange
) -> Self
pub fn categorical_hyper_parameter_ranges( self, input: CategoricalHyperParameterRange ) -> Self
Appends an item to categorical_hyper_parameter_ranges
.
To override the contents of this collection use set_categorical_hyper_parameter_ranges
.
The categorical hyperparameters and their ranges.
sourcepub fn set_categorical_hyper_parameter_ranges(
self,
input: Option<Vec<CategoricalHyperParameterRange>>
) -> Self
pub fn set_categorical_hyper_parameter_ranges( self, input: Option<Vec<CategoricalHyperParameterRange>> ) -> Self
The categorical hyperparameters and their ranges.
sourcepub fn get_categorical_hyper_parameter_ranges(
&self
) -> &Option<Vec<CategoricalHyperParameterRange>>
pub fn get_categorical_hyper_parameter_ranges( &self ) -> &Option<Vec<CategoricalHyperParameterRange>>
The categorical hyperparameters and their ranges.
sourcepub fn build(self) -> HyperParameterRanges
pub fn build(self) -> HyperParameterRanges
Consumes the builder and constructs a HyperParameterRanges
.
Trait Implementations§
source§impl Clone for HyperParameterRangesBuilder
impl Clone for HyperParameterRangesBuilder
source§fn clone(&self) -> HyperParameterRangesBuilder
fn clone(&self) -> HyperParameterRangesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HyperParameterRangesBuilder
impl Debug for HyperParameterRangesBuilder
source§impl Default for HyperParameterRangesBuilder
impl Default for HyperParameterRangesBuilder
source§fn default() -> HyperParameterRangesBuilder
fn default() -> HyperParameterRangesBuilder
source§impl PartialEq for HyperParameterRangesBuilder
impl PartialEq for HyperParameterRangesBuilder
source§fn eq(&self, other: &HyperParameterRangesBuilder) -> bool
fn eq(&self, other: &HyperParameterRangesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.