计算机科学 > 信息检索
[提交于 2018年6月6日]
标题:Pytrec_eval: An Extremely Fast Python Interface to trec_eval
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We introduce pytrec_eval, a Python interface to the tree_eval information retrieval evaluation toolkit. pytrec_eval exposes the reference implementations of trec_eval within Python as a native extension. We show that pytrec_eval is around one order of magnitude faster than invoking trec_eval as a sub process from within Python. Compared to a native Python implementation of NDCG, pytrec_eval is twice as fast for practically-sized rankings. Finally, we demonstrate its effectiveness in an application where pytrec_eval is combined with Pyndri and the OpenAI Gym where query expansion is learned using Q-learning.
提交历史
来自:Christophe Van Gysel[v1] 2018年6月6日 星期三 00:00:00 UTC