Class ClassificationEvaluationMetrics.Types.ConfusionMatrix
Confusion matrix of the model running the classification.
Inheritance
Implements
Inherited Members
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public sealed class ConfusionMatrix : IMessage<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IEquatable<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IDeepCloneable<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IBufferMessage, IMessage
Constructors
ConfusionMatrix()
Declaration
public ConfusionMatrix()
ConfusionMatrix(ClassificationEvaluationMetrics.Types.ConfusionMatrix)
Declaration
public ConfusionMatrix(ClassificationEvaluationMetrics.Types.ConfusionMatrix other)
Parameters
Type | Name | Description |
---|---|---|
ClassificationEvaluationMetrics.Types.ConfusionMatrix | other |
Properties
AnnotationSpecId
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.
Declaration
public RepeatedField<string> AnnotationSpecId { get; }
Property Value
Type | Description |
---|---|
RepeatedField<System.String> |
DisplayName
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.
Declaration
public RepeatedField<string> DisplayName { get; }
Property Value
Type | Description |
---|---|
RepeatedField<System.String> |
Row
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.
Declaration
public RepeatedField<ClassificationEvaluationMetrics.Types.ConfusionMatrix.Types.Row> Row { get; }
Property Value
Type | Description |
---|---|
RepeatedField<ClassificationEvaluationMetrics.Types.ConfusionMatrix.Types.Row> |