# ConfusionMatrix Class

## Definition

Represents the confusion matrix of the classification results.

public sealed class ConfusionMatrix
type ConfusionMatrix = class
Public NotInheritable Class ConfusionMatrix
Inheritance
ConfusionMatrix

## Properties

 The confusion matrix counts for the combinations actual class/predicted class. The actual classes are in the rows of the table (stored in the outer IReadOnlyList), and the predicted classes in the columns(stored in the inner IReadOnlyList). The indicators of the predicted classes. It might be the classes names, or just indices of the predicted classes, if the name mapping is missing. The calculated value of precision for each class. The calculated value of recall for each class.

## Methods

 Gets the confusion table count for the pair predictedClassIndicatorIndex/actualClassIndicatorIndex. Returns a human readable representation of the confusion table.