#[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 ==.impl StructuralPartialEq for HyperParameterRangesBuilder
Auto Trait Implementations§
impl Freeze for HyperParameterRangesBuilder
impl RefUnwindSafe for HyperParameterRangesBuilder
impl Send for HyperParameterRangesBuilder
impl Sync for HyperParameterRangesBuilder
impl Unpin for HyperParameterRangesBuilder
impl UnwindSafe for HyperParameterRangesBuilder
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