public sealed class TextSentimentEvaluationMetrics : IMessage<TextSentimentEvaluationMetrics>, IEquatable<TextSentimentEvaluationMetrics>, IDeepCloneable<TextSentimentEvaluationMetrics>, IBufferMessage, IMessage
Reference documentation and code samples for the Google AutoML v1 API class TextSentimentEvaluationMetrics.
Model evaluation metrics for text sentiment problems.
Implements
IMessageTextSentimentEvaluationMetrics, IEquatableTextSentimentEvaluationMetrics, IDeepCloneableTextSentimentEvaluationMetrics, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
TextSentimentEvaluationMetrics()
public TextSentimentEvaluationMetrics()
TextSentimentEvaluationMetrics(TextSentimentEvaluationMetrics)
public TextSentimentEvaluationMetrics(TextSentimentEvaluationMetrics other)
Parameter | |
---|---|
Name | Description |
other |
TextSentimentEvaluationMetrics |
Properties
ConfusionMatrix
public ClassificationEvaluationMetrics.Types.ConfusionMatrix ConfusionMatrix { get; set; }
Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Property Value | |
---|---|
Type | Description |
ClassificationEvaluationMetricsTypesConfusionMatrix |
F1Score
public float F1Score { get; set; }
Output only. The harmonic mean of recall and precision.
Property Value | |
---|---|
Type | Description |
float |
LinearKappa
public float LinearKappa { get; set; }
Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Property Value | |
---|---|
Type | Description |
float |
MeanAbsoluteError
public float MeanAbsoluteError { get; set; }
Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Property Value | |
---|---|
Type | Description |
float |
MeanSquaredError
public float MeanSquaredError { get; set; }
Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Property Value | |
---|---|
Type | Description |
float |
Precision
public float Precision { get; set; }
Output only. Precision.
Property Value | |
---|---|
Type | Description |
float |
QuadraticKappa
public float QuadraticKappa { get; set; }
Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Property Value | |
---|---|
Type | Description |
float |
Recall
public float Recall { get; set; }
Output only. Recall.
Property Value | |
---|---|
Type | Description |
float |