Google Cloud Ai Platform V1 Client - Class Metric (0.28.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
NameDescription
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
TypeDescription
string

setMetricId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Output only. The value for this metric.

Returns
TypeDescription
float

setValue

Output only. The value for this metric.

Parameter
NameDescription
var float
Returns
TypeDescription
$this