Tutorvo

RAG Retrieval Evaluation: Hit Rate@k, MRR & a Chart

Lesson 8 of 816 minLab

This lesson is part of the course

In this lesson

You evaluate the retriever of a help-centre assistant on 12 test questions with a known gold chunk: reciprocal ranks, MRR and hit rate at k = 1, 3, 5 and 10 for vector-only vs hybrid retrieval, then chart the hit-rate curves.

Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.

Lessons in this course

  1. Embeddings as Vectors: Length, Normalisation & the L1 NormLab13 min Locked
  2. Dot Product vs Cosine Similarity with SUMPRODUCTLab14 min Locked
  3. Top-k Retrieval: RANK.EQ, LARGE and INDEX/MATCHLab14 min Locked
  4. Euclidean Distance vs Cosine: When Do the Rankings Disagree?Lab14 min Locked
  5. Chunking: Tokens per Chunk, Number of Chunks & Embedding CostLab15 min Locked
  6. Approximate Search: Recall@k vs Exact Search and the Speed Trade-offLab15 min Locked
  7. Hybrid Search: Blending Keyword and Vector ScoresLab14 min Locked
  8. RAG Retrieval Evaluation: Hit Rate@k, MRR & a ChartLab16 min Locked