Skip to content

Glossary: Embeddings and Vector Search

nDCG

Also written: nDCG@k, nDCG@10, normalized discounted cumulative gain

A 0-to-1 ranking score that uses grades and positions, rewarding the best answers for appearing near the top. Each result earns its grade divided by log₂(position + 1), compared with a perfect ranking.

Where the book teaches it

Related terms

graded relevanceMRRrecall@k