
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 |
|---|
EvaluateRetrievalPerformance.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 EvaluateRetrievalPerformance.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()
ResultgetLongName in interface Resultpublic String getShortName()
ResultgetShortName in interface Resultpublic void writeToText(TextWriterStream out, String label)
TextWriteableTextWriterStreamwriteToText in interface TextWriteableout - Output writerlabel - LabelCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.