Class TextSentimentEvaluationMetrics (2.5.2)

TextSentimentEvaluationMetrics(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Model evaluation metrics for text sentiment problems.

Attributes

NameDescription
precision float
Output only. Precision.
recall float
Output only. Recall.
f1_score float
Output only. The harmonic mean of recall and precision.
mean_absolute_error float
Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
mean_squared_error float
Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
linear_kappa float
Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
quadratic_kappa float
Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
confusion_matrix google.cloud.automl_v1.types.ClassificationEvaluationMetrics.ConfusionMatrix
Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec.