Class TextSentimentDatasetMetadata
Dataset metadata for text sentiment.
Inheritance
System.Object
TextSentimentDatasetMetadata
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public sealed class TextSentimentDatasetMetadata : IMessage<TextSentimentDatasetMetadata>, IEquatable<TextSentimentDatasetMetadata>, IDeepCloneable<TextSentimentDatasetMetadata>, IBufferMessage, IMessage
Constructors
TextSentimentDatasetMetadata()
Declaration
public TextSentimentDatasetMetadata()
TextSentimentDatasetMetadata(TextSentimentDatasetMetadata)
Declaration
public TextSentimentDatasetMetadata(TextSentimentDatasetMetadata other)
Parameters
Type | Name | Description |
---|---|---|
TextSentimentDatasetMetadata | other |
Properties
SentimentMax
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).
Declaration
public int SentimentMax { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |