#[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 get_integer_hyper_parameter_ranges(
&self
) -> &Option<Vec<DefaultIntegerHyperParameterRange>>
pub fn get_integer_hyper_parameter_ranges( &self ) -> &Option<Vec<DefaultIntegerHyperParameterRange>>
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 get_continuous_hyper_parameter_ranges(
&self
) -> &Option<Vec<DefaultContinuousHyperParameterRange>>
pub fn get_continuous_hyper_parameter_ranges( &self ) -> &Option<Vec<DefaultContinuousHyperParameterRange>>
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 get_categorical_hyper_parameter_ranges(
&self
) -> &Option<Vec<DefaultCategoricalHyperParameterRange>>
pub fn get_categorical_hyper_parameter_ranges( &self ) -> &Option<Vec<DefaultCategoricalHyperParameterRange>>
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 for DefaultHyperParameterRangesBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for DefaultHyperParameterRangesBuilder
Auto Trait Implementations§
impl Freeze for DefaultHyperParameterRangesBuilder
impl RefUnwindSafe for DefaultHyperParameterRangesBuilder
impl Send for DefaultHyperParameterRangesBuilder
impl Sync for DefaultHyperParameterRangesBuilder
impl Unpin for DefaultHyperParameterRangesBuilder
impl UnwindSafe for DefaultHyperParameterRangesBuilder
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