Google Cloud Ai Platform V1 Client - Class StudySpec (0.10.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class StudySpec.

Represents specification of a Study.

Generated from protobuf message google.cloud.aiplatform.v1.StudySpec

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ decay_curve_stopping_spec Google\Cloud\AIPlatform\V1\StudySpec\DecayCurveAutomatedStoppingSpec

The automated early stopping spec using decay curve rule.

↳ median_automated_stopping_spec Google\Cloud\AIPlatform\V1\StudySpec\MedianAutomatedStoppingSpec

The automated early stopping spec using median rule.

↳ convex_automated_stopping_spec Google\Cloud\AIPlatform\V1\StudySpec\ConvexAutomatedStoppingSpec

The automated early stopping spec using convex stopping rule.

↳ metrics array<Google\Cloud\AIPlatform\V1\StudySpec\MetricSpec>

Required. Metric specs for the Study.

↳ parameters array<Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec>

Required. The set of parameters to tune.

↳ algorithm int

The search algorithm specified for the Study.

↳ observation_noise int

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 int

Describe which measurement selection type will be used

getDecayCurveStoppingSpec

The automated early stopping spec using decay curve rule.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\StudySpec\DecayCurveAutomatedStoppingSpec|null

hasDecayCurveStoppingSpec

setDecayCurveStoppingSpec

The automated early stopping spec using decay curve rule.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\StudySpec\DecayCurveAutomatedStoppingSpec
Returns
TypeDescription
$this

getMedianAutomatedStoppingSpec

The automated early stopping spec using median rule.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\StudySpec\MedianAutomatedStoppingSpec|null

hasMedianAutomatedStoppingSpec

setMedianAutomatedStoppingSpec

The automated early stopping spec using median rule.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\StudySpec\MedianAutomatedStoppingSpec
Returns
TypeDescription
$this

getConvexAutomatedStoppingSpec

The automated early stopping spec using convex stopping rule.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\StudySpec\ConvexAutomatedStoppingSpec|null

hasConvexAutomatedStoppingSpec

setConvexAutomatedStoppingSpec

The automated early stopping spec using convex stopping rule.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\StudySpec\ConvexAutomatedStoppingSpec
Returns
TypeDescription
$this

getMetrics

Required. Metric specs for the Study.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

Required. Metric specs for the Study.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\StudySpec\MetricSpec>
Returns
TypeDescription
$this

getParameters

Required. The set of parameters to tune.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setParameters

Required. The set of parameters to tune.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\StudySpec\ParameterSpec>
Returns
TypeDescription
$this

getAlgorithm

The search algorithm specified for the Study.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.Algorithm algorithm = 3;

Returns
TypeDescription
int

setAlgorithm

The search algorithm specified for the Study.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.Algorithm algorithm = 3;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getObservationNoise

The observation noise level of the study.

Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ObservationNoise observation_noise = 6;

Returns
TypeDescription
int

setObservationNoise

The observation noise level of the study.

Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.ObservationNoise observation_noise = 6;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMeasurementSelectionType

Describe which measurement selection type will be used

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;

Returns
TypeDescription
int

setMeasurementSelectionType

Describe which measurement selection type will be used

Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAutomatedStoppingSpec

Returns
TypeDescription
string