#[non_exhaustive]pub struct ObjectiveStatusCountersBuilder { /* private fields */ }
Expand description
A builder for ObjectiveStatusCounters
.
Implementations§
source§impl ObjectiveStatusCountersBuilder
impl ObjectiveStatusCountersBuilder
sourcepub fn succeeded(self, input: i32) -> Self
pub fn succeeded(self, input: i32) -> Self
The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.
sourcepub fn set_succeeded(self, input: Option<i32>) -> Self
pub fn set_succeeded(self, input: Option<i32>) -> Self
The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.
sourcepub fn get_succeeded(&self) -> &Option<i32>
pub fn get_succeeded(&self) -> &Option<i32>
The number of training jobs whose final objective metric was evaluated by the hyperparameter tuning job and used in the hyperparameter tuning process.
sourcepub fn pending(self, input: i32) -> Self
pub fn pending(self, input: i32) -> Self
The number of training jobs that are in progress and pending evaluation of their final objective metric.
sourcepub fn set_pending(self, input: Option<i32>) -> Self
pub fn set_pending(self, input: Option<i32>) -> Self
The number of training jobs that are in progress and pending evaluation of their final objective metric.
sourcepub fn get_pending(&self) -> &Option<i32>
pub fn get_pending(&self) -> &Option<i32>
The number of training jobs that are in progress and pending evaluation of their final objective metric.
sourcepub fn failed(self, input: i32) -> Self
pub fn failed(self, input: i32) -> Self
The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.
sourcepub fn set_failed(self, input: Option<i32>) -> Self
pub fn set_failed(self, input: Option<i32>) -> Self
The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.
sourcepub fn get_failed(&self) -> &Option<i32>
pub fn get_failed(&self) -> &Option<i32>
The number of training jobs whose final objective metric was not evaluated and used in the hyperparameter tuning process. This typically occurs when the training job failed or did not emit an objective metric.
sourcepub fn build(self) -> ObjectiveStatusCounters
pub fn build(self) -> ObjectiveStatusCounters
Consumes the builder and constructs a ObjectiveStatusCounters
.
Trait Implementations§
source§impl Clone for ObjectiveStatusCountersBuilder
impl Clone for ObjectiveStatusCountersBuilder
source§fn clone(&self) -> ObjectiveStatusCountersBuilder
fn clone(&self) -> ObjectiveStatusCountersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ObjectiveStatusCountersBuilder
impl Default for ObjectiveStatusCountersBuilder
source§fn default() -> ObjectiveStatusCountersBuilder
fn default() -> ObjectiveStatusCountersBuilder
source§impl PartialEq for ObjectiveStatusCountersBuilder
impl PartialEq for ObjectiveStatusCountersBuilder
source§fn eq(&self, other: &ObjectiveStatusCountersBuilder) -> bool
fn eq(&self, other: &ObjectiveStatusCountersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.