Class XPSConfusionMatrix
Confusion matrix of the model running the classification.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1beta2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1beta2.dll
Syntax
public class XPSConfusionMatrix : IDirectResponseSchema
Properties
AnnotationSpecIdToken
For the following three repeated fields, only one is intended to be set. annotation_spec_id_token is preferable to be set. ID tokens of the annotation specs used in the confusion matrix.
Declaration
[JsonProperty("annotationSpecIdToken")]
public virtual IList<string> AnnotationSpecIdToken { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Category
Category (mainly for segmentation). Set only for image segmentation models. Note: uCAIP Image Segmentation should use annotation_spec_id_token.
Declaration
[JsonProperty("category")]
public virtual IList<int?> Category { get; set; }
Property Value
Type | Description |
---|---|
IList<int?> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Row
Rows in the confusion matrix. The number of rows is equal to the size of annotation_spec_id_token
.
row[i].value[j]
is the number of examples that have ground truth of the annotation_spec_id_token[i]
and
are predicted as annotation_spec_id_token[j]
by the model being evaluated.
Declaration
[JsonProperty("row")]
public virtual IList<XPSConfusionMatrixRow> Row { get; set; }
Property Value
Type | Description |
---|---|
IList<XPSConfusionMatrixRow> |
SentimentLabel
Sentiment labels used in the confusion matrix. Set only for text sentiment models. For AutoML Text Revamp,
use annotation_spec_id_token
instead and leave this field empty.
Declaration
[JsonProperty("sentimentLabel")]
public virtual IList<int?> SentimentLabel { get; set; }
Property Value
Type | Description |
---|---|
IList<int?> |