Class: Google::Cloud::AutoML::V1beta1::TextSentimentEvaluationMetrics

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#annotation_spec_idArray<String>

Returns Output only. The annotation spec ids used for this evaluation. Deprecated .

Returns:

  • (Array<String>)

    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_matrixGoogle::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.

Returns:



72
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72

class TextSentimentEvaluationMetrics; end

#f1_scoreFloat

Returns Output only. The harmonic mean of recall and precision.

Returns:

  • (Float)

    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_kappaFloat

Returns Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.

Returns:

  • (Float)

    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_errorFloat

Returns Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.

Returns:

  • (Float)

    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_errorFloat

Returns Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.

Returns:

  • (Float)

    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

#precisionFloat

Returns Output only. Precision.

Returns:

  • (Float)

    Output only. Precision.



72
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72

class TextSentimentEvaluationMetrics; end

#quadratic_kappaFloat

Returns Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.

Returns:

  • (Float)

    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

#recallFloat

Returns Output only. Recall.

Returns:

  • (Float)

    Output only. Recall.



72
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_sentiment.rb', line 72

class TextSentimentEvaluationMetrics; end