Class: Google::Cloud::AutoML::V1beta1::TextSentimentEvaluationMetrics
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::TextSentimentEvaluationMetrics
- Defined in:
- lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb
Overview
Model evaluation metrics for text sentiment problems.
Instance Attribute Summary collapse
-
#annotation_spec_id ⇒ Array<String>
Output only.
-
#confusion_matrix ⇒ Google::Cloud::AutoML::V1beta1::ClassificationEvaluationMetrics::ConfusionMatrix
Output only.
-
#f1_score ⇒ Float
Output only.
-
#linear_kappa ⇒ Float
Output only.
-
#mean_absolute_error ⇒ Float
Output only.
-
#mean_squared_error ⇒ Float
Output only.
-
#precision ⇒ Float
Output only.
-
#quadratic_kappa ⇒ Float
Output only.
-
#recall ⇒ Float
Output only.
Instance Attribute Details
#annotation_spec_id ⇒ Array<String>
Returns Output only. The annotation spec ids used for this evaluation. Deprecated .
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |
#confusion_matrix ⇒ Google::Cloud::AutoML::V1beta1::ClassificationEvaluationMetrics::ConfusionMatrix
Returns Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |
#f1_score ⇒ Float
Returns Output only. The harmonic mean of recall and precision.
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |
#linear_kappa ⇒ Float
Returns Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |
#mean_absolute_error ⇒ Float
Returns Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |
#mean_squared_error ⇒ Float
Returns Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |
#precision ⇒ Float
Returns Output only. Precision.
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |
#quadratic_kappa ⇒ Float
Returns Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |
#recall ⇒ Float
Returns Output only. Recall.
72 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72 class TextSentimentEvaluationMetrics; end |