Class ConfusionMatrix (0.4.2)

Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.

Inheritance

builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > ConfusionMatrix

Classes

ConfusionMatrixEntry

Number of items predicted to have this label. (The ground truth label for these items is the Row.annotationSpec of this entry’s parent.)

Row

A row in the confusion matrix. Each entry in this row has the same ground truth label.

A list of the confusion matrix entries. One entry for each possible predicted label.