public class StandardConfusionMatrix extends Object implements ConfusionMatrix
Constructor and Description |
---|
StandardConfusionMatrix(SortedSet<Object> labels) |
Modifier and Type | Method and Description |
---|---|
double |
accuracy() |
void |
increment(Integer predicted,
Integer actual) |
String |
toString() |
Table |
toTable() |
public void increment(Integer predicted, Integer actual)
increment
in interface ConfusionMatrix
public String toString()
toString
in interface ConfusionMatrix
toString
in class Object
public Table toTable()
toTable
in interface ConfusionMatrix
public double accuracy()
accuracy
in interface ConfusionMatrix
Copyright © 2017. All rights reserved.