Class TextSentimentPredictionResult (0.4.0)

TextSentimentPredictionResult(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Represents a line of JSONL in the text sentiment batch prediction output file. This is a hack to allow printing of integer values.

Attributes

Name Description
instance `.gcaspi_text_sentiment.TextSentimentPredictionInstance`
User's input instance.
prediction `.gcaspp_text_sentiment.TextSentimentPredictionResult.Prediction`
The prediction result.

Inheritance

builtins.object > proto.message.Message > TextSentimentPredictionResult

Classes

Prediction

Prediction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Prediction output format for Text Sentiment.