Class TextSentimentDatasetMetadata (2.11.1)

Stay organized with collections Save and categorize content based on your preferences.
    mapping=None, *, ignore_unknown_fields=False, **kwargs

Dataset metadata for text sentiment.


sentiment_max int
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).