capreolus.trecrun

Module Contents

Classes

TrecRun

Functions

eval_runs(runs, qrels, metrics, relevance_level, average_only=True)

class capreolus.trecrun.TrecRun(results)[source]
add(self, other)[source]
subtract(self, other)[source]
multiply(self, other)[source]
divide(self, other)[source]
topk(self, k)[source]
intersect(self, other)[source]
qids(self)[source]
union_qids(self, other, shared_qids='disallow')[source]
concat(self, other)[source]
difference(self, other)[source]
normalize(self, method='rr')[source]
write_trec_run(self, outfn, tag='capreolus')[source]
remove_unjudged_documents(self, qrels)[source]
evaluate(self, qrels, metrics, relevance_level=1, average_only=True)[source]
capreolus.trecrun.eval_runs(runs, qrels, metrics, relevance_level, average_only=True)[source]