Google Cloud Ai Platform V1 Client - Class PairwiseMetricInput (1.13.1)

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

Input for pairwise metric.

Generated from protobuf message google.cloud.aiplatform.v1.PairwiseMetricInput

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_spec PairwiseMetricSpec

Required. Spec for pairwise metric.

↳ instance PairwiseMetricInstance

Required. Pairwise metric instance.

getMetricSpec

Required. Spec for pairwise metric.

Returns
Type Description
PairwiseMetricSpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for pairwise metric.

Parameter
Name Description
var PairwiseMetricSpec
Returns
Type Description
$this

getInstance

Required. Pairwise metric instance.

Returns
Type Description
PairwiseMetricInstance|null

hasInstance

clearInstance

setInstance

Required. Pairwise metric instance.

Parameter
Name Description
var PairwiseMetricInstance
Returns
Type Description
$this