Class TextSentimentEvaluationMetrics

Model evaluation metrics for text sentiment problems.

Attributes
NameDescription
floatprecision
Output only. Precision.
floatrecall
Output only. Recall.
floatf1_score
Output only. The harmonic mean of recall and precision.
floatmean_absolute_error
Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
floatmean_squared_error
Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
floatlinear_kappa
Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
floatquadratic_kappa
Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
google.cloud.automl_v1beta1.types.ClassificationEvaluationMetrics.ConfusionMatrixconfusion_matrix
Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Sequence[str]annotation_spec_id
Output only. The annotation spec ids used for this evaluation. Deprecated .

Inheritance

builtins.object > proto.message.Message > TextSentimentEvaluationMetrics