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\u003eThe webpage provides reference documentation and code samples for the \u003ccode\u003eTextSentimentDatasetMetadata\u003c/code\u003e class within the Google AutoML v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextSentimentDatasetMetadata\u003c/code\u003e is used for text sentiment dataset metadata, which represents sentiment as an integer.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSentimentMax\u003c/code\u003e property of the \u003ccode\u003eTextSentimentDatasetMetadata\u003c/code\u003e class indicates the maximum sentiment value, which must be between 1 and 10 inclusive.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the AutoML library available on this page is 3.4.0, with the page specifically highlighting version 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSentimentDatasetMetadata\u003c/code\u003e class implements 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"]]],[],null,[]]