Class ClassificationEvaluationMetrics.Types.ConfusionMatrix (2.4.0)

public sealed class ConfusionMatrix : IMessage<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IEquatable<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IDeepCloneable<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IBufferMessage, IMessage

Confusion matrix of the model running the classification.

Inheritance

Object > ClassificationEvaluationMetrics.Types.ConfusionMatrix

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

ConfusionMatrix()

public ConfusionMatrix()

ConfusionMatrix(ClassificationEvaluationMetrics.Types.ConfusionMatrix)

public ConfusionMatrix(ClassificationEvaluationMetrics.Types.ConfusionMatrix other)
Parameter
NameDescription
otherClassificationEvaluationMetrics.Types.ConfusionMatrix

Properties

AnnotationSpecId

public RepeatedField<string> AnnotationSpecId { get; }

Output only. IDs of the annotation specs used in the confusion matrix. For Tables CLASSIFICATION

[prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type] only list of [annotation_spec_display_name-s][] is populated.

Property Value
TypeDescription
RepeatedField<String>

DisplayName

public RepeatedField<string> DisplayName { get; }

Output only. Display name of the annotation specs used in the confusion matrix, as they were at the moment of the evaluation. For Tables CLASSIFICATION

[prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type], distinct values of the target column at the moment of the model evaluation are populated here.

Property Value
TypeDescription
RepeatedField<String>

Row

public RepeatedField<ClassificationEvaluationMetrics.Types.ConfusionMatrix.Types.Row> Row { get; }

Output only. Rows in the confusion matrix. The number of rows is equal to the size of annotation_spec_id. row[i].example_count[j] is the number of examples that have ground truth of the annotation_spec_id[i] and are predicted as annotation_spec_id[j] by the model being evaluated.

Property Value
TypeDescription
RepeatedField<ClassificationEvaluationMetrics.Types.ConfusionMatrix.Types.Row>