MCPcopy
hub / github.com/daveebbelaar/ai-cookbook / 6-evaluate.py

File 6-evaluate.py

knowledge/hybrid-retrieval/6-evaluate.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2The payoff. NDCG@10 across BM25, dense, hybrid (RRF), and hybrid + rerank,
3on the FiQA-2018 test set.
4

Callers

nothing calls this directly

Calls 7

BM25RetrieverClass · 0.90
DenseRetrieverClass · 0.90
load_corpusFunction · 0.90
ndcg_at_kFunction · 0.85
hybrid_topkFunction · 0.85
reranked_topkFunction · 0.85
searchMethod · 0.45

Tested by

no test coverage detected