Google Cloud Ai Platform V1 Client - Class Measurement (0.27.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
NameDescription
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
TypeDescription
Google\Protobuf\Duration|null

hasElapsedDuration

clearElapsedDuration

setElapsedDuration

Output only. Time that the Trial has been running at the point of this Measurement.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getStepCount

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

Returns
TypeDescription
int|string

setStepCount

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getMetrics

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

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

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\Measurement\Metric>
Returns
TypeDescription
$this