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 doubleaurocAUROC valueprivate double[]knnperfKNN performanceprivate doublemapMAP valueprivate intsamplesizeSample 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 doublegetAUROC()java.lang.StringgetLongName()doublegetMAP()java.lang.StringgetShortName()voidwriteToText(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:TextWriteableWrite self to the givenTextWriterStream- Specified by:
writeToTextin interfaceTextWriteable- Parameters:
out- Output writerlabel- Label
-
-