Google Cloud Ai Platform V1 Client - Class AggregationResult (1.57.0)

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

The aggregation result for a single metric.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ pointwise_metric_result PointwiseMetricResult

Result for pointwise metric.

↳ pairwise_metric_result PairwiseMetricResult

Result for pairwise metric.

↳ exact_match_metric_value ExactMatchMetricValue

Results for exact match metric.

↳ bleu_metric_value BleuMetricValue

Results for bleu metric.

↳ rouge_metric_value RougeMetricValue

Results for rouge metric.

↳ aggregation_metric int

Aggregation metric.

getPointwiseMetricResult

Result for pointwise metric.

Returns
Type Description
PointwiseMetricResult|null

hasPointwiseMetricResult

setPointwiseMetricResult

Result for pointwise metric.

Parameter
Name Description
var PointwiseMetricResult
Returns
Type Description
$this

getPairwiseMetricResult

Result for pairwise metric.

Returns
Type Description
PairwiseMetricResult|null

hasPairwiseMetricResult

setPairwiseMetricResult

Result for pairwise metric.

Parameter
Name Description
var PairwiseMetricResult
Returns
Type Description
$this

getExactMatchMetricValue

Results for exact match metric.

Returns
Type Description
ExactMatchMetricValue|null

hasExactMatchMetricValue

setExactMatchMetricValue

Results for exact match metric.

Parameter
Name Description
var ExactMatchMetricValue
Returns
Type Description
$this

getBleuMetricValue

Results for bleu metric.

Returns
Type Description
BleuMetricValue|null

hasBleuMetricValue

setBleuMetricValue

Results for bleu metric.

Parameter
Name Description
var BleuMetricValue
Returns
Type Description
$this

getRougeMetricValue

Results for rouge metric.

Returns
Type Description
RougeMetricValue|null

hasRougeMetricValue

setRougeMetricValue

Results for rouge metric.

Parameter
Name Description
var RougeMetricValue
Returns
Type Description
$this

getAggregationMetric

Aggregation metric.

Returns
Type Description
int Enum of type AggregationMetric.

setAggregationMetric

Aggregation metric.

Parameter
Name Description
var int

Enum of type AggregationMetric.

Returns
Type Description
$this

getAggregationResult

Returns
Type Description
string