pub struct HparamTuningTrial {
pub end_time_ms: Option<i64>,
pub error_message: Option<String>,
pub eval_loss: Option<f64>,
pub evaluation_metrics: Option<EvaluationMetrics>,
pub hparam_tuning_evaluation_metrics: Option<EvaluationMetrics>,
pub hparams: Option<TrainingOptions>,
pub start_time_ms: Option<i64>,
pub status: Option<String>,
pub training_loss: Option<f64>,
pub trial_id: Option<i64>,
}
Expand description
Training info of a trial in hyperparameter tuning models.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time_ms: Option<i64>
Ending time of the trial.
error_message: Option<String>
Error message for FAILED and INFEASIBLE trial.
eval_loss: Option<f64>
Loss computed on the eval data at the end of trial.
evaluation_metrics: Option<EvaluationMetrics>
Evaluation metrics of this trial calculated on the test data. Empty in Job API.
hparam_tuning_evaluation_metrics: Option<EvaluationMetrics>
Hyperparameter tuning evaluation metrics of this trial calculated on the eval data. Unlike evaluation_metrics, only the fields corresponding to the hparam_tuning_objectives are set.
hparams: Option<TrainingOptions>
The hyperprameters selected for this trial.
start_time_ms: Option<i64>
Starting time of the trial.
status: Option<String>
The status of the trial.
training_loss: Option<f64>
Loss computed on the training data at the end of trial.
trial_id: Option<i64>
1-based index of the trial.
Trait Implementations§
Source§impl Clone for HparamTuningTrial
impl Clone for HparamTuningTrial
Source§fn clone(&self) -> HparamTuningTrial
fn clone(&self) -> HparamTuningTrial
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 Debug for HparamTuningTrial
impl Debug for HparamTuningTrial
Source§impl Default for HparamTuningTrial
impl Default for HparamTuningTrial
Source§fn default() -> HparamTuningTrial
fn default() -> HparamTuningTrial
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HparamTuningTrial
impl<'de> Deserialize<'de> for HparamTuningTrial
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 Serialize for HparamTuningTrial
impl Serialize for HparamTuningTrial
impl Part for HparamTuningTrial
Auto Trait Implementations§
impl Freeze for HparamTuningTrial
impl RefUnwindSafe for HparamTuningTrial
impl Send for HparamTuningTrial
impl Sync for HparamTuningTrial
impl Unpin for HparamTuningTrial
impl UnwindSafe for HparamTuningTrial
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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