Google Cloud Ai Platform V1 Client - Class RougeInput (1.5.0)

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

Input for rouge metric.

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

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\RougeSpec

Required. Spec for rouge score metric.

↳ instances array<Google\Cloud\AIPlatform\V1\RougeInstance>

Required. Repeated rouge instances.

getMetricSpec

Required. Spec for rouge score metric.

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

hasMetricSpec

clearMetricSpec

setMetricSpec

Required. Spec for rouge score metric.

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

getInstances

Required. Repeated rouge instances.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstances

Required. Repeated rouge instances.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\RougeInstance>
Returns
Type Description
$this