Class XPSTextSentimentEvaluationMetrics
Model evaluation metrics for text sentiment problems.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1beta2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1beta2.dll
Syntax
public class XPSTextSentimentEvaluationMetrics : IDirectResponseSchema
Properties
ConfusionMatrix
Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Declaration
[JsonProperty("confusionMatrix")]
public virtual XPSConfusionMatrix ConfusionMatrix { get; set; }
Property Value
Type | Description |
---|---|
XPSConfusionMatrix |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
F1Score
Output only. The harmonic mean of recall and precision.
Declaration
[JsonProperty("f1Score")]
public virtual float? F1Score { get; set; }
Property Value
Type | Description |
---|---|
float? |
LinearKappa
Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Declaration
[JsonProperty("linearKappa")]
public virtual float? LinearKappa { get; set; }
Property Value
Type | Description |
---|---|
float? |
MeanAbsoluteError
Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Declaration
[JsonProperty("meanAbsoluteError")]
public virtual float? MeanAbsoluteError { get; set; }
Property Value
Type | Description |
---|---|
float? |
MeanSquaredError
Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Declaration
[JsonProperty("meanSquaredError")]
public virtual float? MeanSquaredError { get; set; }
Property Value
Type | Description |
---|---|
float? |
Precision
Output only. Precision.
Declaration
[JsonProperty("precision")]
public virtual float? Precision { get; set; }
Property Value
Type | Description |
---|---|
float? |
QuadraticKappa
Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
Declaration
[JsonProperty("quadraticKappa")]
public virtual float? QuadraticKappa { get; set; }
Property Value
Type | Description |
---|---|
float? |
Recall
Output only. Recall.
Declaration
[JsonProperty("recall")]
public virtual float? Recall { get; set; }
Property Value
Type | Description |
---|---|
float? |