pub struct HyperParameterTuningJobObjective {
pub metric_name: String,
pub type_: String,
}
Expand description
Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning uses the value of this metric to evaluate the training jobs it launches, and returns the training job that results in either the highest or lowest value for this metric, depending on the value you specify for the Type
parameter.
Fields§
§metric_name: String
The name of the metric to use for the objective metric.
type_: String
Whether to minimize or maximize the objective metric.
Trait Implementations§
Source§impl Clone for HyperParameterTuningJobObjective
impl Clone for HyperParameterTuningJobObjective
Source§fn clone(&self) -> HyperParameterTuningJobObjective
fn clone(&self) -> HyperParameterTuningJobObjective
Returns a duplicate 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 Default for HyperParameterTuningJobObjective
impl Default for HyperParameterTuningJobObjective
Source§fn default() -> HyperParameterTuningJobObjective
fn default() -> HyperParameterTuningJobObjective
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HyperParameterTuningJobObjective
impl<'de> Deserialize<'de> for HyperParameterTuningJobObjective
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HyperParameterTuningJobObjective
impl PartialEq for HyperParameterTuningJobObjective
Source§fn eq(&self, other: &HyperParameterTuningJobObjective) -> bool
fn eq(&self, other: &HyperParameterTuningJobObjective) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for HyperParameterTuningJobObjective
Auto Trait Implementations§
impl Freeze for HyperParameterTuningJobObjective
impl RefUnwindSafe for HyperParameterTuningJobObjective
impl Send for HyperParameterTuningJobObjective
impl Sync for HyperParameterTuningJobObjective
impl Unpin for HyperParameterTuningJobObjective
impl UnwindSafe for HyperParameterTuningJobObjective
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