Capreolus
latest
Contents:
Getting Started
Installation
Running Pipelines with the CLI
Available Modules
Running on TPUs
API Reference
Capreolus
Docs
»
capreolus.trecrun
Edit on GitHub
capreolus.trecrun
¶
Module Contents
¶
Classes
¶
TrecRun
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]
¶
Read the Docs
v: latest
Versions
latest
stable
v0.2.6
v0.2.5
v0.2.4.1
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.4
docstaging
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.