|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iglu.ir.PRResultUtils
Utilities for working with PRResult objects. Works in a manner consistent with _Modern_Information_Retrieval_ by Baeza-Yates and Ribeiro-Neto, chapter 3.
PRResult
Field Summary | |
static double[] |
precList
The default number of documents to display |
Constructor Summary | |
private |
PRResultUtils()
|
Method Summary | |
static double[] |
dpAverages(PRResult[] rsts)
Return the average precisions for the number of document values listed in precList . |
static PRPair |
lastPRPair(PRResult rst)
Returns the last PRPair in the resultset |
static double[] |
rpAverages(PRResult[] rsts)
Calculates interpolated precision results for know recall values. |
static java.lang.String |
summary(PRResult[] rsts)
Returns a string containing information about result sets |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final double[] precList
Constructor Detail |
private PRResultUtils()
Method Detail |
public static double[] rpAverages(PRResult[] rsts)
public static double[] dpAverages(PRResult[] rsts)
precList
.
public static java.lang.String summary(PRResult[] rsts)
public static PRPair lastPRPair(PRResult rst)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |