public static class EvaluateRetrievalPerformance.RetrievalPerformanceResult extends Object implements Result, TextWriteable
Modifier and Type | Field and Description |
---|---|
private double[] |
knnperf
KNN performance
|
private double |
map
MAP value
|
private double |
rocauc
ROC AUC value
|
private int |
samplesize
Sample size
|
Constructor and Description |
---|
RetrievalPerformanceResult(int samplesize,
double map,
double rocauc,
double[] knnperf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
double |
getMAP() |
double |
getROCAUC() |
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 int samplesize
private double map
private double rocauc
private double[] knnperf
public RetrievalPerformanceResult(int samplesize, double map, double rocauc, double[] knnperf)
samplesize
- Sample sizemap
- MAP valuerocauc
- ROC AUC valueknnperf
- public double getROCAUC()
public double getMAP()
public String getLongName()
Result
getLongName
in interface Result
public String getShortName()
Result
getShortName
in interface Result
public void writeToText(TextWriterStream out, String label)
TextWriteable
TextWriterStream
writeToText
in interface TextWriteable
out
- Output writerlabel
- LabelCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.