#[non_exhaustive]pub struct DefaultHyperParameterRangesBuilder { /* private fields */ }
Expand description
A builder for DefaultHyperParameterRanges
.
Implementations§
source§impl DefaultHyperParameterRangesBuilder
impl DefaultHyperParameterRangesBuilder
sourcepub fn integer_hyper_parameter_ranges(
self,
input: DefaultIntegerHyperParameterRange
) -> Self
pub fn integer_hyper_parameter_ranges( self, input: DefaultIntegerHyperParameterRange ) -> 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 default ranges.
sourcepub fn set_integer_hyper_parameter_ranges(
self,
input: Option<Vec<DefaultIntegerHyperParameterRange>>
) -> Self
pub fn set_integer_hyper_parameter_ranges( self, input: Option<Vec<DefaultIntegerHyperParameterRange>> ) -> Self
The integer-valued hyperparameters and their default ranges.
sourcepub fn continuous_hyper_parameter_ranges(
self,
input: DefaultContinuousHyperParameterRange
) -> Self
pub fn continuous_hyper_parameter_ranges( self, input: DefaultContinuousHyperParameterRange ) -> 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 default ranges.
sourcepub fn set_continuous_hyper_parameter_ranges(
self,
input: Option<Vec<DefaultContinuousHyperParameterRange>>
) -> Self
pub fn set_continuous_hyper_parameter_ranges( self, input: Option<Vec<DefaultContinuousHyperParameterRange>> ) -> Self
The continuous hyperparameters and their default ranges.
sourcepub fn categorical_hyper_parameter_ranges(
self,
input: DefaultCategoricalHyperParameterRange
) -> Self
pub fn categorical_hyper_parameter_ranges( self, input: DefaultCategoricalHyperParameterRange ) -> 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 default ranges.
sourcepub fn set_categorical_hyper_parameter_ranges(
self,
input: Option<Vec<DefaultCategoricalHyperParameterRange>>
) -> Self
pub fn set_categorical_hyper_parameter_ranges( self, input: Option<Vec<DefaultCategoricalHyperParameterRange>> ) -> Self
The categorical hyperparameters and their default ranges.
sourcepub fn build(self) -> DefaultHyperParameterRanges
pub fn build(self) -> DefaultHyperParameterRanges
Consumes the builder and constructs a DefaultHyperParameterRanges
.
Trait Implementations§
source§impl Clone for DefaultHyperParameterRangesBuilder
impl Clone for DefaultHyperParameterRangesBuilder
source§fn clone(&self) -> DefaultHyperParameterRangesBuilder
fn clone(&self) -> DefaultHyperParameterRangesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DefaultHyperParameterRangesBuilder
impl Default for DefaultHyperParameterRangesBuilder
source§fn default() -> DefaultHyperParameterRangesBuilder
fn default() -> DefaultHyperParameterRangesBuilder
source§impl PartialEq<DefaultHyperParameterRangesBuilder> for DefaultHyperParameterRangesBuilder
impl PartialEq<DefaultHyperParameterRangesBuilder> for DefaultHyperParameterRangesBuilder
source§fn eq(&self, other: &DefaultHyperParameterRangesBuilder) -> bool
fn eq(&self, other: &DefaultHyperParameterRangesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.