Cloud AutoML V1 Client - Class TranslationEvaluationMetrics (1.4.17)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
float

setBleuScore

Output only. BLEU score.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getBaseBleuScore

Output only. BLEU score for base model.

Returns
TypeDescription
float

setBaseBleuScore

Output only. BLEU score for base model.

Parameter
NameDescription
var float
Returns
TypeDescription
$this