TextSentimentEvaluationMetrics

Model evaluation metrics for text sentiment problems.

Fields
confusionMatrix object (ConfusionMatrix)

Confusion matrix of the evaluation. Only set for ModelEvaluations, not for ModelEvaluationSlices.

precision number

Precision.

recall number

Recall.

f1Score number

The harmonic mean of recall and precision.

meanAbsoluteError number

Mean absolute error. Only set for ModelEvaluations, not for ModelEvaluationSlices.

meanSquaredError number

Mean squared error. Only set for ModelEvaluations, not for ModelEvaluationSlices.

linearKappa number

Linear weighted kappa. Only set for ModelEvaluations, not for ModelEvaluationSlices.

quadraticKappa number

Quadratic weighted kappa. Only set for ModelEvaluations, not for ModelEvaluationSlices.

JSON representation
{
  "confusionMatrix": {
    object (ConfusionMatrix)
  },
  "precision": number,
  "recall": number,
  "f1Score": number,
  "meanAbsoluteError": number,
  "meanSquaredError": number,
  "linearKappa": number,
  "quadraticKappa": number
}