public sealed class ClassificationEvaluationMetrics.Types.ConfusionMatrix : IMessage<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IEquatable<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IDeepCloneable<ClassificationEvaluationMetrics.Types.ConfusionMatrix>, IBufferMessage, IMessageReference documentation and code samples for the Google AutoML v1 API class ClassificationEvaluationMetrics.Types.ConfusionMatrix.
Confusion matrix of the model running the classification.
Implements
IMessageClassificationEvaluationMetricsTypesConfusionMatrix, IEquatableClassificationEvaluationMetricsTypesConfusionMatrix, IDeepCloneableClassificationEvaluationMetricsTypesConfusionMatrix, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
ConfusionMatrix()
public ConfusionMatrix()ConfusionMatrix(ConfusionMatrix)
public ConfusionMatrix(ClassificationEvaluationMetrics.Types.ConfusionMatrix other)| Parameter | |
|---|---|
| Name | Description |
other |
ClassificationEvaluationMetricsTypesConfusionMatrix |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
RepeatedFieldClassificationEvaluationMetricsTypesConfusionMatrixTypesRow |
|