public class ConfusionMatrix extends Object implements Serializable
| Constructor and Description |
|---|
ConfusionMatrix() |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnSum(String predicted) |
int |
getCount(String actual,
String predicted) |
List<String> |
getLabels() |
Map<TupleTwo<String,String>,Integer> |
getMatrix() |
int |
getRowSum(String actual) |
void |
incCount(String actual,
String predicted) |
void |
reset() |
void |
setLabels(List<String> labels) |
void |
setMatrix(Map<TupleTwo<String,String>,Integer> matrix) |
Copyright © 2017. All rights reserved.