uk.ac.gla.terrier.evaluation
Class NamedPageEvaluation
java.lang.Object
uk.ac.gla.terrier.evaluation.Evaluation
uk.ac.gla.terrier.evaluation.NamedPageEvaluation
public class NamedPageEvaluation
- extends Evaluation
Performs the evaluation for TREC's named/home page finding task.
The evaluation measure is the average reciprocal rank of those relevant
documents that are among the top 50 documents.
- Version:
- $Revision: 1.27 $
- Author:
- Vassilis Plachouras
Method Summary |
void |
evaluate(java.lang.String resultFilename)
Evaluates the given result file. |
void |
writeEvaluationResult(java.io.PrintWriter out)
Output the evaluation result to the specific file. |
void |
writeEvaluationResultOfEachQuery(java.lang.String resultEvalFilename)
Output the evaluation result of each query to the specific file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedPageEvaluation
public NamedPageEvaluation()
evaluate
public void evaluate(java.lang.String resultFilename)
- Evaluates the given result file.
- Specified by:
evaluate
in class Evaluation
- Parameters:
resultFilename
- String the filename
of the result file to evaluate.
writeEvaluationResultOfEachQuery
public void writeEvaluationResultOfEachQuery(java.lang.String resultEvalFilename)
- Output the evaluation result of each query to the specific file.
- Specified by:
writeEvaluationResultOfEachQuery
in class Evaluation
- Parameters:
resultEvalFilename
- String the name of the file in which to
save the evaluation results.
writeEvaluationResult
public void writeEvaluationResult(java.io.PrintWriter out)
- Output the evaluation result to the specific file.
- Specified by:
writeEvaluationResult
in class Evaluation
- Parameters:
out
- PrintWriter the name of the stream to output the result.
Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow