Struct google_api_proto::google::cloud::aiplatform::v1beta1::StudySpec
source · pub struct StudySpec {
pub metrics: Vec<MetricSpec>,
pub parameters: Vec<ParameterSpec>,
pub algorithm: i32,
pub observation_noise: i32,
pub measurement_selection_type: i32,
pub transfer_learning_config: Option<TransferLearningConfig>,
pub study_stopping_config: Option<StudyStoppingConfig>,
pub automated_stopping_spec: Option<AutomatedStoppingSpec>,
}
Expand description
Represents specification of a Study.
Fields§
§metrics: Vec<MetricSpec>
Required. Metric specs for the Study.
parameters: Vec<ParameterSpec>
Required. The set of parameters to tune.
algorithm: i32
The search algorithm specified for the Study.
observation_noise: i32
The observation noise level of the study. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.
measurement_selection_type: i32
Describe which measurement selection type will be used
transfer_learning_config: Option<TransferLearningConfig>
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
study_stopping_config: Option<StudyStoppingConfig>
Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition.
automated_stopping_spec: Option<AutomatedStoppingSpec>
Implementations§
source§impl StudySpec
impl StudySpec
sourcepub fn algorithm(&self) -> Algorithm
pub fn algorithm(&self) -> Algorithm
Returns the enum value of algorithm
, or the default if the field is set to an invalid enum value.
sourcepub fn set_algorithm(&mut self, value: Algorithm)
pub fn set_algorithm(&mut self, value: Algorithm)
Sets algorithm
to the provided enum value.
sourcepub fn observation_noise(&self) -> ObservationNoise
pub fn observation_noise(&self) -> ObservationNoise
Returns the enum value of observation_noise
, or the default if the field is set to an invalid enum value.
sourcepub fn set_observation_noise(&mut self, value: ObservationNoise)
pub fn set_observation_noise(&mut self, value: ObservationNoise)
Sets observation_noise
to the provided enum value.
sourcepub fn measurement_selection_type(&self) -> MeasurementSelectionType
pub fn measurement_selection_type(&self) -> MeasurementSelectionType
Returns the enum value of measurement_selection_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_measurement_selection_type(
&mut self,
value: MeasurementSelectionType,
)
pub fn set_measurement_selection_type( &mut self, value: MeasurementSelectionType, )
Sets measurement_selection_type
to the provided enum value.
Trait Implementations§
source§impl Message for StudySpec
impl Message for StudySpec
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 StudySpec
impl PartialEq for StudySpec
impl StructuralPartialEq for StudySpec
Auto Trait Implementations§
impl Freeze for StudySpec
impl RefUnwindSafe for StudySpec
impl Send for StudySpec
impl Sync for StudySpec
impl Unpin for StudySpec
impl UnwindSafe for StudySpec
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