Google AutoML v1 API - Class TextSentimentDatasetMetadata (3.4.0)

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.

Dataset metadata for text sentiment.

Inheritance

object > TextSentimentDatasetMetadata

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

TextSentimentDatasetMetadata()

public TextSentimentDatasetMetadata()

TextSentimentDatasetMetadata(TextSentimentDatasetMetadata)

public TextSentimentDatasetMetadata(TextSentimentDatasetMetadata other)
Parameter
Name Description
other TextSentimentDatasetMetadata

Properties

SentimentMax

public int SentimentMax { get; set; }

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).

Property Value
Type Description
int