public class ResultAnalyzer extends Object
| Constructor and Description |
|---|
ResultAnalyzer(Collection<String> labelSet,
String defaultLabel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInstance(String correctLabel,
ClassifierResult classifiedResult) |
ConfusionMatrix |
getConfusionMatrix() |
String |
toString() |
public ResultAnalyzer(Collection<String> labelSet, String defaultLabel)
public ConfusionMatrix getConfusionMatrix()
public boolean addInstance(String correctLabel, ClassifierResult classifiedResult)
correctLabel - The correct labelclassifiedResult - The classified resultCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.