nordlys.core.eval.trec_eval module¶
Trec Evaluation¶
Wrapper for trec_eval.
Authors: | Dario Garigliotti, Shuo Zhang |
---|
-
class
nordlys.core.eval.trec_eval.
TrecEval
[source]¶ Bases:
object
Holds evaluation results obtained using trec_eval.
-
evaluate
(qrels_file, run_file, eval_file=None)[source]¶ Evaluates a runfile using trec_eval. Optionally writes evaluation output to file.
Parameters: - qrels_file – name of qrels file
- run_file – name of run file
- eval_file – name of evaluation output file
-