Google Cloud Ai Platform V1 Client - Class Metric (1.13.0)

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

A message representing a metric in the measurement.

Generated from protobuf message google.cloud.aiplatform.v1.Measurement.Metric

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Measurement

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_id string

Output only. The ID of the Metric. The Metric should be defined in StudySpec's Metrics.

↳ value float

Output only. The value for this metric.

getMetricId

Output only. The ID of the Metric. The Metric should be defined in StudySpec's Metrics.

Returns
Type Description
string

setMetricId

Output only. The ID of the Metric. The Metric should be defined in StudySpec's Metrics.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Output only. The value for this metric.

Returns
Type Description
float

setValue

Output only. The value for this metric.

Parameter
Name Description
var float
Returns
Type Description
$this