Struct google_api_proto::google::cloud::bigquery::v2::MlStatistics
source · pub struct MlStatistics {
pub max_iterations: i64,
pub iteration_results: Vec<IterationResult>,
pub model_type: i32,
pub training_type: i32,
pub hparam_trials: Vec<HparamTuningTrial>,
}
Expand description
Job statistics specific to a BigQuery ML training job.
Fields§
§max_iterations: i64
Output only. Maximum number of iterations specified as max_iterations in the ‘CREATE MODEL’ query. The actual number of iterations may be less than this number due to early stop.
iteration_results: Vec<IterationResult>
Results for all completed iterations. Empty for hyperparameter tuning jobs.
model_type: i32
Output only. The type of the model that is being trained.
training_type: i32
Output only. Training type of the job.
hparam_trials: Vec<HparamTuningTrial>
Output only. Trials of a hyperparameter tuning job sorted by trial_id.
Implementations§
source§impl MlStatistics
impl MlStatistics
sourcepub fn model_type(&self) -> ModelType
pub fn model_type(&self) -> ModelType
Returns the enum value of model_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_model_type(&mut self, value: ModelType)
pub fn set_model_type(&mut self, value: ModelType)
Sets model_type
to the provided enum value.
sourcepub fn training_type(&self) -> TrainingType
pub fn training_type(&self) -> TrainingType
Returns the enum value of training_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_training_type(&mut self, value: TrainingType)
pub fn set_training_type(&mut self, value: TrainingType)
Sets training_type
to the provided enum value.
Trait Implementations§
source§impl Clone for MlStatistics
impl Clone for MlStatistics
source§fn clone(&self) -> MlStatistics
fn clone(&self) -> MlStatistics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MlStatistics
impl Debug for MlStatistics
source§impl Default for MlStatistics
impl Default for MlStatistics
source§impl Message for MlStatistics
impl Message for MlStatistics
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for MlStatistics
impl PartialEq for MlStatistics
source§fn eq(&self, other: &MlStatistics) -> bool
fn eq(&self, other: &MlStatistics) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MlStatistics
Auto Trait Implementations§
impl Freeze for MlStatistics
impl RefUnwindSafe for MlStatistics
impl Send for MlStatistics
impl Sync for MlStatistics
impl Unpin for MlStatistics
impl UnwindSafe for MlStatistics
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request