public sealed class TextSentimentDatasetMetadata : IMessage<TextSentimentDatasetMetadata>, IEquatable<TextSentimentDatasetMetadata>, IDeepCloneable<TextSentimentDatasetMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Google AutoML v1 API class TextSentimentDatasetMetadata.
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eTextSentimentDatasetMetadata\u003c/code\u003e class within the Google AutoML v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSentimentDatasetMetadata\u003c/code\u003e class is used for dataset metadata related to text sentiment analysis, which implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 3.4.0, however this specific page is referencing version 3.1.0, and includes documentation for older versions dating back to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a \u003ccode\u003eSentimentMax\u003c/code\u003e property, which defines the range of sentiment values, from 0 up to the specified \u003ccode\u003eSentimentMax\u003c/code\u003e, where a higher value represents a more positive sentiment.\u003c/p\u003e\n"],["\u003cp\u003eThe text sentiment max value is required and it must be between 1 and 10, including both end values.\u003c/p\u003e\n"]]],[],null,[]]