Cloud AutoML V1 Client - Class TranslationEvaluationMetrics (2.0.1)

Reference documentation and code samples for the Cloud AutoML V1 Client class TranslationEvaluationMetrics.

Evaluation metrics for the dataset.

Generated from protobuf message google.cloud.automl.v1.TranslationEvaluationMetrics

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bleu_score float

Output only. BLEU score.

↳ base_bleu_score float

Output only. BLEU score for base model.

getBleuScore

Output only. BLEU score.

Returns
Type Description
float

setBleuScore

Output only. BLEU score.

Parameter
Name Description
var float
Returns
Type Description
$this

getBaseBleuScore

Output only. BLEU score for base model.

Returns
Type Description
float

setBaseBleuScore

Output only. BLEU score for base model.

Parameter
Name Description
var float
Returns
Type Description
$this