Send feedback
Class TextSentimentPredictionResult (0.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.8.0 keyboard_arrow_down
TextSentimentPredictionResult(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
Prediction output format for Text Sentiment
.. attribute:: sentiment
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).
:type: int
Inheritance
builtins.object
>
proto.message.Message
>
TextSentimentPredictionResult
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-28 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?