Google Cloud Ai Platform V1 Client - Class Measurement (0.39.0)

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

Namespace

Google \ Cloud \ AIPlatform \ V1

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.

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.

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.

Returns
Type Description
int|string

setStepCount

Output only. The number of steps the machine learning model has been trained for. Must be non-negative.

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMetrics

Output only. A list of metrics got by evaluating the objective functions using suggested Parameter values.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\Measurement\Metric>
Returns
Type Description
$this