Class TextSentimentEvaluationMetrics (2.5.0)

public sealed class TextSentimentEvaluationMetrics : IMessage<TextSentimentEvaluationMetrics>, IEquatable<TextSentimentEvaluationMetrics>, IDeepCloneable<TextSentimentEvaluationMetrics>, IBufferMessage, IMessage

Model evaluation metrics for text sentiment problems.

Inheritance

Object > TextSentimentEvaluationMetrics

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

TextSentimentEvaluationMetrics()

public TextSentimentEvaluationMetrics()

TextSentimentEvaluationMetrics(TextSentimentEvaluationMetrics)

public TextSentimentEvaluationMetrics(TextSentimentEvaluationMetrics other)
Parameter
NameDescription
otherTextSentimentEvaluationMetrics

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
TypeDescription
ClassificationEvaluationMetrics.Types.ConfusionMatrix

F1Score

public float F1Score { get; set; }

Output only. The harmonic mean of recall and precision.

Property Value
TypeDescription
Single

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
TypeDescription
Single

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
TypeDescription
Single

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
TypeDescription
Single

Precision

public float Precision { get; set; }

Output only. Precision.

Property Value
TypeDescription
Single

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
TypeDescription
Single

Recall

public float Recall { get; set; }

Output only. Recall.

Property Value
TypeDescription
Single