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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb

Overview

Model evaluation metrics for text sentiment problems.

Instance Attribute Summary collapse

Instance Attribute Details

#annotation_spec_id::Array<::String>

Deprecated.

This field is deprecated and may be removed in the next major version update.

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 .



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

Returns:



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#f1_score::Float

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

Returns:

  • (::Float)

    Output only. The harmonic mean of recall and precision.



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

Returns:

  • (::Float)

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



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

Returns:

  • (::Float)

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



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

Returns:

  • (::Float)

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



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#precision::Float

Returns Output only. Precision.

Returns:

  • (::Float)

    Output only. Precision.



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.

Returns:

  • (::Float)

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



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#recall::Float

Returns Output only. Recall.

Returns:

  • (::Float)

    Output only. Recall.



80
81
82
83
# File 'proto_docs/google/cloud/automl/v1beta1/text_sentiment.rb', line 80

class TextSentimentEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end