Struct gapi_grpc::google::cloud::aiplatform::v1beta1::StudySpec[][src]

pub struct StudySpec {
    pub metrics: Vec<MetricSpec>,
    pub parameters: Vec<ParameterSpec>,
    pub algorithm: i32,
    pub observation_noise: i32,
    pub measurement_selection_type: i32,
    pub automated_stopping_spec: Option<AutomatedStoppingSpec>,
}

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 Vizier service. Not supported by HyperparamterTuningJob or TrainingPipeline.

measurement_selection_type: i32

Describe which measurement selection type will be used

automated_stopping_spec: Option<AutomatedStoppingSpec>

Implementations

impl StudySpec[src]

pub fn algorithm(&self) -> Algorithm[src]

Returns the enum value of algorithm, or the default if the field is set to an invalid enum value.

pub fn set_algorithm(&mut self, value: Algorithm)[src]

Sets algorithm to the provided enum value.

pub fn observation_noise(&self) -> ObservationNoise[src]

Returns the enum value of observation_noise, or the default if the field is set to an invalid enum value.

pub fn set_observation_noise(&mut self, value: ObservationNoise)[src]

Sets observation_noise to the provided enum value.

pub fn measurement_selection_type(&self) -> MeasurementSelectionType[src]

Returns the enum value of measurement_selection_type, or the default if the field is set to an invalid enum value.

pub fn set_measurement_selection_type(
    &mut self,
    value: MeasurementSelectionType
)
[src]

Sets measurement_selection_type to the provided enum value.

Trait Implementations

impl Clone for StudySpec[src]

impl Debug for StudySpec[src]

impl Default for StudySpec[src]

impl Message for StudySpec[src]

impl PartialEq<StudySpec> for StudySpec[src]

impl StructuralPartialEq for StudySpec[src]

Auto Trait Implementations

impl RefUnwindSafe for StudySpec

impl Send for StudySpec

impl Sync for StudySpec

impl Unpin for StudySpec

impl UnwindSafe for StudySpec

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]