Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class MultiTrialAlgorithmSpec.
The spec of multi-trial Neural Architecture Search (NAS).
Generated from protobuf message google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec
Namespace
Google \ Cloud \ AIPlatform \ V1 \ NasJobSpecMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ multi_trial_algorithm |
int
The multi-trial Neural Architecture Search (NAS) algorithm type. Defaults to |
↳ metric |
MultiTrialAlgorithmSpec\MetricSpec
Metric specs for the NAS job. Validation for this field is done at |
↳ search_trial_spec |
MultiTrialAlgorithmSpec\SearchTrialSpec
Required. Spec for search trials. |
↳ train_trial_spec |
MultiTrialAlgorithmSpec\TrainTrialSpec
Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched. |
getMultiTrialAlgorithm
The multi-trial Neural Architecture Search (NAS) algorithm
type. Defaults to REINFORCEMENT_LEARNING
.
Returns | |
---|---|
Type | Description |
int |
setMultiTrialAlgorithm
The multi-trial Neural Architecture Search (NAS) algorithm
type. Defaults to REINFORCEMENT_LEARNING
.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMetric
Metric specs for the NAS job.
Validation for this field is done at multi_trial_algorithm_spec
field.
Returns | |
---|---|
Type | Description |
MultiTrialAlgorithmSpec\MetricSpec|null |
hasMetric
clearMetric
setMetric
Metric specs for the NAS job.
Validation for this field is done at multi_trial_algorithm_spec
field.
Parameter | |
---|---|
Name | Description |
var |
MultiTrialAlgorithmSpec\MetricSpec
|
Returns | |
---|---|
Type | Description |
$this |
getSearchTrialSpec
Required. Spec for search trials.
Returns | |
---|---|
Type | Description |
MultiTrialAlgorithmSpec\SearchTrialSpec|null |
hasSearchTrialSpec
clearSearchTrialSpec
setSearchTrialSpec
Required. Spec for search trials.
Parameter | |
---|---|
Name | Description |
var |
MultiTrialAlgorithmSpec\SearchTrialSpec
|
Returns | |
---|---|
Type | Description |
$this |
getTrainTrialSpec
Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.
Returns | |
---|---|
Type | Description |
MultiTrialAlgorithmSpec\TrainTrialSpec|null |
hasTrainTrialSpec
clearTrainTrialSpec
setTrainTrialSpec
Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.
Parameter | |
---|---|
Name | Description |
var |
MultiTrialAlgorithmSpec\TrainTrialSpec
|
Returns | |
---|---|
Type | Description |
$this |