public sealed class TextSentimentPredictionResult : IMessage<TextSentimentPredictionResult>, IEquatable<TextSentimentPredictionResult>, IDeepCloneable<TextSentimentPredictionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class TextSentimentPredictionResult.
The integer sentiment labels between 0 (inclusive) and sentimentMax label
(inclusive), while 0 maps to the least positive sentiment and
sentimentMax maps to the most positive one. The higher the score is, the
more positive the sentiment in the text snippet is. Note: sentimentMax is
an integer value between 1 (inclusive) and 10 (inclusive).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-31 UTC."],[[["This page provides reference documentation for the `TextSentimentPredictionResult` class within the Google Cloud AI Platform v1beta1 API, specifically in version 1.0.0-beta09."],["The `TextSentimentPredictionResult` class is used to format prediction outputs for text sentiment analysis and inherits from `object`, while also implementing `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces."],["The `TextSentimentPredictionResult` class includes a `Sentiment` property of type `int`, that determines the sentiment score of a text snippet, where higher values indicate a more positive sentiment."],["This class has two constructors, a default one, and another one that accepts a `TextSentimentPredictionResult` object as a parameter."],["The class is found under the `Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction` namespace, within the `Google.Cloud.AIPlatform.V1Beta1.dll` assembly."]]],[]]