Struct google_ml1_beta1::GoogleCloudMlV1beta1__HyperparameterSpec
[−]
[src]
pub struct GoogleCloudMlV1beta1__HyperparameterSpec { pub max_trials: Option<i32>, pub params: Option<Vec<GoogleCloudMlV1beta1__ParameterSpec>>, pub max_parallel_trials: Option<i32>, pub goal: Option<String>, }
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.
params: Option<Vec<GoogleCloudMlV1beta1__ParameterSpec>>
Required. The set of parameters to tune.
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.
goal: Option<String>
Required. The type of goal to use for tuning. Available types are
MAXIMIZE
and MINIMIZE
.
Defaults to MAXIMIZE
.
Trait Implementations
impl Default for GoogleCloudMlV1beta1__HyperparameterSpec
[src]
fn default() -> GoogleCloudMlV1beta1__HyperparameterSpec
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudMlV1beta1__HyperparameterSpec
[src]
fn clone(&self) -> GoogleCloudMlV1beta1__HyperparameterSpec
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more