Sha256: dcb545e3980e7a988b6bd61164e117ec1417af62b9f1bdd8db2611b59339945c

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/automl/v1/text_sentiment.proto

require 'google/protobuf'

require 'google/cloud/automl/v1/classification_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/automl/v1/text_sentiment.proto", :syntax => :proto3) do
    add_message "google.cloud.automl.v1.TextSentimentAnnotation" do
      optional :sentiment, :int32, 1
    end
    add_message "google.cloud.automl.v1.TextSentimentEvaluationMetrics" do
      optional :precision, :float, 1
      optional :recall, :float, 2
      optional :f1_score, :float, 3
      optional :mean_absolute_error, :float, 4
      optional :mean_squared_error, :float, 5
      optional :linear_kappa, :float, 6
      optional :quadratic_kappa, :float, 7
      optional :confusion_matrix, :message, 8, "google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix"
    end
  end
end

module Google
  module Cloud
    module AutoML
      module V1
        TextSentimentAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1.TextSentimentAnnotation").msgclass
        TextSentimentEvaluationMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.automl.v1.TextSentimentEvaluationMetrics").msgclass
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google-cloud-automl-v1-0.6.0 lib/google/cloud/automl/v1/text_sentiment_pb.rb
google-cloud-automl-v1-0.5.1 lib/google/cloud/automl/v1/text_sentiment_pb.rb
google-cloud-automl-v1-0.5.0 lib/google/cloud/automl/v1/text_sentiment_pb.rb