public class ConfusionMatrix
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int[][] |
matrix
Confusion matrix.
|
| Constructor and Description |
|---|
ConfusionMatrix(int[][] matrix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfusionMatrix |
of(int[] truth,
int[] prediction)
Creates the confusion matrix.
|
java.lang.String |
toString() |
public static ConfusionMatrix of(int[] truth, int[] prediction)
public java.lang.String toString()
toString in class java.lang.Object