Package elki.algorithm.statistics
Class EvaluateRetrievalPerformance.RetrievalPerformanceResult
- java.lang.Object
-
- elki.algorithm.statistics.EvaluateRetrievalPerformance.RetrievalPerformanceResult
-
- All Implemented Interfaces:
TextWriteable
- Enclosing class:
- EvaluateRetrievalPerformance<O>
public static class EvaluateRetrievalPerformance.RetrievalPerformanceResult extends java.lang.Object implements TextWriteable
Result object for MAP scores.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private double
auroc
AUROC valueprivate double[]
knnperf
KNN performanceprivate double
map
MAP valueprivate int
samplesize
Sample size
-
Constructor Summary
Constructors Constructor Description RetrievalPerformanceResult(int samplesize, double map, double auroc, double[] knnperf)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAUROC()
java.lang.String
getLongName()
double
getMAP()
java.lang.String
getShortName()
void
writeToText(TextWriterStream out, java.lang.String label)
Write self to the givenTextWriterStream
-
-
-
Method Detail
-
getAUROC
public double getAUROC()
- Returns:
- the area under curve
-
getMAP
public double getMAP()
- Returns:
- the medium average precision
-
getLongName
public java.lang.String getLongName()
-
getShortName
public java.lang.String getShortName()
-
writeToText
public void writeToText(TextWriterStream out, java.lang.String label)
Description copied from interface:TextWriteable
Write self to the givenTextWriterStream
- Specified by:
writeToText
in interfaceTextWriteable
- Parameters:
out
- Output writerlabel
- Label
-
-