public static class EvaluateRetrievalPerformance.RetrievalPerformanceResult extends java.lang.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 |
---|---|
java.lang.String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
double |
getMAP() |
double |
getROCAUC() |
java.lang.String |
getShortName()
A short name for the result, useful for file names.
|
void |
writeToText(TextWriterStream out,
java.lang.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 java.lang.String getLongName()
Result
getLongName
in interface Result
public java.lang.String getShortName()
Result
getShortName
in interface Result
public void writeToText(TextWriterStream out, java.lang.String label)
TextWriteable
TextWriterStream
writeToText
in interface TextWriteable
out
- Output writerlabel
- LabelCopyright © 2019 ELKI Development Team. License information.