Struct aws_sdk_personalize::types::builders::TunedHpoParamsBuilder
source · #[non_exhaustive]pub struct TunedHpoParamsBuilder { /* private fields */ }Expand description
A builder for TunedHpoParams.
Implementations§
source§impl TunedHpoParamsBuilder
impl TunedHpoParamsBuilder
sourcepub fn algorithm_hyper_parameters(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn algorithm_hyper_parameters( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to algorithm_hyper_parameters.
To override the contents of this collection use set_algorithm_hyper_parameters.
A list of the hyperparameter values of the best performing model.
sourcepub fn set_algorithm_hyper_parameters(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_algorithm_hyper_parameters( self, input: Option<HashMap<String, String>> ) -> Self
A list of the hyperparameter values of the best performing model.
sourcepub fn get_algorithm_hyper_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_algorithm_hyper_parameters(&self) -> &Option<HashMap<String, String>>
A list of the hyperparameter values of the best performing model.
sourcepub fn build(self) -> TunedHpoParams
pub fn build(self) -> TunedHpoParams
Consumes the builder and constructs a TunedHpoParams.
Trait Implementations§
source§impl Clone for TunedHpoParamsBuilder
impl Clone for TunedHpoParamsBuilder
source§fn clone(&self) -> TunedHpoParamsBuilder
fn clone(&self) -> TunedHpoParamsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TunedHpoParamsBuilder
impl Debug for TunedHpoParamsBuilder
source§impl Default for TunedHpoParamsBuilder
impl Default for TunedHpoParamsBuilder
source§fn default() -> TunedHpoParamsBuilder
fn default() -> TunedHpoParamsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TunedHpoParamsBuilder
impl PartialEq for TunedHpoParamsBuilder
source§fn eq(&self, other: &TunedHpoParamsBuilder) -> bool
fn eq(&self, other: &TunedHpoParamsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TunedHpoParamsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TunedHpoParamsBuilder
impl Send for TunedHpoParamsBuilder
impl Sync for TunedHpoParamsBuilder
impl Unpin for TunedHpoParamsBuilder
impl UnwindSafe for TunedHpoParamsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.