Google Cloud Ai Platform V1 Client - Class CoherenceInput (1.4.0)

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

Input for coherence metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metric_spec Google\Cloud\AIPlatform\V1\CoherenceSpec

Required. Spec for coherence score metric.

↳ instance Google\Cloud\AIPlatform\V1\CoherenceInstance

Required. Coherence instance.

getMetricSpec

Required. Spec for coherence score metric.

Returns
Type Description
Google\Cloud\AIPlatform\V1\CoherenceSpec|null

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for coherence score metric.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\CoherenceSpec
Returns
Type Description
$this

getInstance

Required. Coherence instance.

Returns
Type Description
Google\Cloud\AIPlatform\V1\CoherenceInstance|null

hasInstance

clearInstance

setInstance

Required. Coherence instance.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\CoherenceInstance
Returns
Type Description
$this