Interactive explainer makes TF-IDF, BM25 and NDCG click, BM25 by example
JnBrymn · x · 2026-10-06
A shared interactive tutorial (in the spirit of Bret Victor's "explorable explanations") teaches the core concepts of search and ranking evaluation:
- TF-IDF vs BM25: BM25 adds term-frequency saturation (k1 caps repeat value at k1+1) and length normalization (b), so 5 mentions of ECONNRESET score 1.55 rather than 5, and a 2x-longer page takes a 13% penalty;
- NDCG: the metric for evaluating how well results are ordered, with worked interactive examples.
More from Research
- Betelgeuse v0.8 hits 50.3 tok/s on RTX 3060 with a CPU expert-prefetch oracle, bit-exact — zyxciss · 2026-11-29
- Whole-human-kidney blood flow imaging achieved with multi-lens ultrasound arrays + 3D ULM — Promptmethus · 2026-11-29
- GPU Power-Current Sensor Spots Hidden AI Training in 3 Seconds — bigdata · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Same 80% accuracy, Brier scores 0.1961 vs 0.1600: a tiny demo of probability quality — Heavy-Confidence1826 · 2026-11-29
- Riemann Hypothesis proof condensed to 117 pages in paper rebuilt with Claude's help — birchlse · 2026-11-29