public class AdhocFullQueryEvaluation extends AdhocEvaluation
Evaluation.Record
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
logger |
averagePrecisionOfEachQuery, maxNumberRetrieved, meanAveragePrecision, meanRelevantPrecision, numberOfEffQuery, PRECISION_PERCENTAGES, PRECISION_RANKS, precisionAtRank, precisionAtRecall, queryNo, totalNumberOfRelevant, totalNumberOfRelevantRetrieved, totalNumberOfRetrieved
qrels
Constructor and Description |
---|
AdhocFullQueryEvaluation()
Create full query adhoc evaluation
|
AdhocFullQueryEvaluation(String qrelsFile)
Create full query adhoc evaluation
|
AdhocFullQueryEvaluation(String[] qrelsFiles)
Create full query adhoc evaluation
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate(String qrelsFilename,
String resultFilename)
Evaluates the given result file for the given qrels file.
|
evaluate, initialise, writeEvaluationResult, writeEvaluationResultOfEachQuery
writeEvaluationResult, writeEvaluationResult
public AdhocFullQueryEvaluation()
public AdhocFullQueryEvaluation(String qrelsFile)
qrelsFile
- public AdhocFullQueryEvaluation(String[] qrelsFiles)
qrelsFiles
- public void evaluate(String qrelsFilename, String resultFilename)
resultFilename
- java.lang.String the filename of the result file to evaluate.qrelsFilename
- java.lang.String the filename of the qrels file corresponding
to the result file.Terrier 4.0. Copyright © 2004-2014 University of Glasgow