Google Cloud Ai Platform V1 Client - Class StudySpec (0.12.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.

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

hasDecayCurveStoppingSpec

setDecayCurveStoppingSpec

The automated early stopping spec using decay curve rule.

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

getMedianAutomatedStoppingSpec

The automated early stopping spec using median rule.

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

hasMedianAutomatedStoppingSpec

setMedianAutomatedStoppingSpec

The automated early stopping spec using median rule.

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

getConvexAutomatedStoppingSpec

The automated early stopping spec using convex stopping rule.

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

hasConvexAutomatedStoppingSpec

setConvexAutomatedStoppingSpec

The automated early stopping spec using convex stopping rule.

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

getMetrics

Required. Metric specs for the Study.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

Required. Metric specs for the Study.

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

getParameters

Required. The set of parameters to tune.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setParameters

Required. The set of parameters to tune.

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

getAlgorithm

The search algorithm specified for the Study.

Returns
TypeDescription
int

setAlgorithm

The search algorithm specified for the Study.

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.

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMeasurementSelectionType

Describe which measurement selection type will be used

Returns
TypeDescription
int

setMeasurementSelectionType

Describe which measurement selection type will be used

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAutomatedStoppingSpec

Returns
TypeDescription
string