public static class MeanAveragePrecisionForDistance.MAPResult extends Object implements Result, TextWriteable
Modifier and Type | Field and Description |
---|---|
private double |
map
MAP value
|
private double |
rocauc
ROC AUC value
|
private int |
samplesize
Sample size
|
Constructor and Description |
---|
MAPResult(double map,
double rocauc,
int samplesize)
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 double map
private double rocauc
private int samplesize
public MAPResult(double map, double rocauc, int samplesize)
map
- MAP valuerocauc
- ROC AUC valuesamplesize
- Sample sizepublic 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 © 2014 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.