The ConfusionMatrix type exposes the following members.
Properties
Name | Description | |
---|---|---|
ConfidenceThreshold |
Threshold to be taken into account when determining the confusion
matrix. If the threshold is modified, the whole matrix will be updated
accordingly, so setting this property may be a costly action.
| |
Item |
Access the results stored in the confusion matrix. The confusion
matrix is to be read as follows: The first index (usually considered
the line index) corresponds to the true class index, whereas the 2nd
index (column index) is the prediction result.
Example: Consider the result counts in a confusion matrix for a
two-class problem to be distributed as follows:
A B
A 10 3
B 1 6
This means that 10 samples of class A have been correctly identified
as class A, while 3 samples of class A have been misclassified as
class B. Likewise, one sample of class B has been misclassified as
class A, while 6 samples of class B have been identified correctly.
| |
NumClasses |
Number of classes in this matrix.
|
See Also