
public class ConfusionMatrixEvaluationResult extends Object implements Result, TextWriteable
| Modifier and Type | Field and Description |
|---|---|
private ConfusionMatrix |
confusionmatrix
Holds the confusion matrix.
|
private String |
evaluationName
Holds the used EvaluationProcedure.
|
| Constructor and Description |
|---|
ConfusionMatrixEvaluationResult(ConfusionMatrix confusionmatrix,
String evaluationName)
Provides an evaluation based on the given confusion matrix.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
String |
getShortName()
A short name for the result, useful for file names.
|
void |
writeToText(TextWriterStream out,
String label)
Write self to the given
TextWriterStream |
private ConfusionMatrix confusionmatrix
private String evaluationName
public ConfusionMatrixEvaluationResult(ConfusionMatrix confusionmatrix, String evaluationName)
confusionmatrix - the confusion matrix to provide the prediction
performance measures forevaluationName - name of the evaluation procedure usedpublic void writeToText(TextWriterStream out, String label)
TextWriteableTextWriterStreamwriteToText in interface TextWriteableout - Output writerlabel - Labelpublic String getLongName()
ResultgetLongName in interface Resultpublic String getShortName()
ResultgetShortName in interface ResultCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.