[][src]Struct google_ml1::GoogleCloudMlV1__HyperparameterSpec

pub struct GoogleCloudMlV1__HyperparameterSpec {
    pub max_trials: Option<i32>,
    pub goal: Option<String>,
    pub algorithm: Option<String>,
    pub max_failed_trials: Option<i32>,
    pub enable_trial_early_stopping: Option<bool>,
    pub resume_previous_job_id: Option<String>,
    pub params: Option<Vec<GoogleCloudMlV1__ParameterSpec>>,
    pub hyperparameter_metric_tag: Option<String>,
    pub max_parallel_trials: Option<i32>,
}

Represents a set of hyperparameters to optimize.

This type is not used in any activity, and only used as part of another schema.

Fields

max_trials: Option<i32>

Optional. How many training trials should be attempted to optimize the specified hyperparameters.

Defaults to one.

goal: Option<String>

Required. The type of goal to use for tuning. Available types are MAXIMIZE and MINIMIZE.

Defaults to MAXIMIZE.

algorithm: Option<String>

Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.

max_failed_trials: Option<i32>

Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs.

Defaults to zero, which means the service decides when a hyperparameter job should fail.

enable_trial_early_stopping: Option<bool>

Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.

resume_previous_job_id: Option<String>

Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.

params: Option<Vec<GoogleCloudMlV1__ParameterSpec>>

Required. The set of parameters to tune.

hyperparameter_metric_tag: Option<String>

Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, "training/hptuning/metric" will be used.

max_parallel_trials: Option<i32>

Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization.

Each trial will use the same scale tier and machine types.

Defaults to one.

Trait Implementations

impl Part for GoogleCloudMlV1__HyperparameterSpec[src]

impl Default for GoogleCloudMlV1__HyperparameterSpec[src]

impl Clone for GoogleCloudMlV1__HyperparameterSpec[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudMlV1__HyperparameterSpec[src]

impl Serialize for GoogleCloudMlV1__HyperparameterSpec[src]

impl<'de> Deserialize<'de> for GoogleCloudMlV1__HyperparameterSpec[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]