Show / Hide Table of Contents

Class XPSConfusionMatrix

Confusion matrix of the model running the classification.

Inheritance
object
XPSConfusionMatrix
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v2.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?>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX