Google AutoML v1 API - Class ClassificationEvaluationMetrics.Types.ConfusionMatrix (3.2.0)

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

Reference documentation and code samples for the Google AutoML v1 API class ClassificationEvaluationMetrics.Types.ConfusionMatrix.

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(ConfusionMatrix)

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

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
RepeatedFieldstring

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
RepeatedFieldstring

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
RepeatedFieldClassificationEvaluationMetricsTypesConfusionMatrixTypesRow