ignite icon indicating copy to clipboard operation
ignite copied to clipboard

[Feature]: Add Mean Reciprocal Rank (MRR) metric to rec_sys

Open steaphenai opened this issue 9 months ago • 1 comments

🚀 Feature

MRR (Mean Reciprocal Rank) is a widely used metric for evaluating retrieval systems, recommendation systems, and RAG pipelines. Currently Ignite has HitRate in rec_sys but MRR is missing.

Steps to reproduce : Add a MRR metric to ignite/metrics/rec_sys/ similar to the existing HitRate implementation. MRR measures the average of 1/rank of the first relevant item across all queries, which is particularly useful for evaluating retrieval quality in RAG systems.

steaphenai avatar Feb 21 '26 13:02 steaphenai

@steaphenai sounds good, thanks for proposing it !

vfdev-5 avatar Feb 21 '26 21:02 vfdev-5