Class: Google::Cloud::AutoML::V1::TextSentimentDatasetMetadata

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

Overview

Dataset metadata for text sentiment.

Instance Attribute Summary collapse

Instance Attribute Details

#sentiment_max::Integer

Returns Required. A sentiment is expressed as an integer ordinal, where higher value means a more positive sentiment. The range of sentiments that will be used is between 0 and sentiment_max (inclusive on both ends), and all the values in the range must be represented in the dataset before a model can be created. sentiment_max value must be between 1 and 10 (inclusive).

Returns:

  • (::Integer)

    Required. A sentiment is expressed as an integer ordinal, where higher value means a more positive sentiment. The range of sentiments that will be used is between 0 and sentiment_max (inclusive on both ends), and all the values in the range must be represented in the dataset before a model can be created. sentiment_max value must be between 1 and 10 (inclusive).



63
64
65
66
# File 'proto_docs/google/cloud/automl/v1/text.rb', line 63

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