Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Measurement.
A message representing a Measurement of a Trial. A Measurement contains the Metrics got by executing a Trial using suggested hyperparameter values.
Generated from protobuf message google.cloud.aiplatform.v1.Measurement
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ elapsed_duration |
Google\Protobuf\Duration
Output only. Time that the Trial has been running at the point of this Measurement. |
↳ step_count |
int|string
Output only. The number of steps the machine learning model has been trained for. Must be non-negative. |
↳ metrics |
array<Google\Cloud\AIPlatform\V1\Measurement\Metric>
Output only. A list of metrics got by evaluating the objective functions using suggested Parameter values. |
getElapsedDuration
Output only. Time that the Trial has been running at the point of this Measurement.
Generated from protobuf field .google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasElapsedDuration
clearElapsedDuration
setElapsedDuration
Output only. Time that the Trial has been running at the point of this Measurement.
Generated from protobuf field .google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |
getStepCount
Output only. The number of steps the machine learning model has been trained for.
Must be non-negative.
Generated from protobuf field int64 step_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int|string |
setStepCount
Output only. The number of steps the machine learning model has been trained for.
Must be non-negative.
Generated from protobuf field int64 step_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getMetrics
Output only. A list of metrics got by evaluating the objective functions using suggested Parameter values.
Generated from protobuf field repeated .google.cloud.aiplatform.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setMetrics
Output only. A list of metrics got by evaluating the objective functions using suggested Parameter values.
Generated from protobuf field repeated .google.cloud.aiplatform.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\AIPlatform\V1\Measurement\Metric>
|
Returns | |
---|---|
Type | Description |
$this |