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-04-09 UTC."],[[["This documentation covers the `TextSentimentPredictionResult` class, which is part of the Cloud AI Platform v1beta1 API and is found in the `Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction` namespace."],["The `TextSentimentPredictionResult` class is used for the prediction output format of Text Sentiment and inherits from the object class, implementing multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has a `Sentiment` property of type integer that represents the sentiment label, ranging from 0 to a `sentimentMax` value, with higher values indicating more positive sentiment."],["The `TextSentimentPredictionResult` class also has two constructors, one that is empty, and one that takes a `TextSentimentPredictionResult` as the parameter."]]],[]]