TextSentimentEvaluationMetrics(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
Model evaluation metrics for text sentiment problems. .. attribute:: precision
Output only. Precision.
:type: float
Attributes
Name | Description |
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_v1beta1.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. |
annotation_spec_id |
Sequence[str]
Output only. The annotation spec ids used for this evaluation. Deprecated . |