Repository navigation
RetrievalRecall vs RetrievalHitRate #1387
zhiqiangdon
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
It seems that RetrievalRecall and RetrievalHitRate are two different metrics based on their implementations.
https://github.com/Lightning-AI/metrics/blob/master/src/torchmetrics/functional/retrieval/recall.py#L60-L61
https://github.com/Lightning-AI/metrics/blob/master/src/torchmetrics/functional/retrieval/hit_rate.py#L56-L57
Shouldn't recall and hit rate be the same metric? I did some search on their difference. In this wikipedia page (https://en.wikipedia.org/wiki/Evaluation_measures_(information_retrieval)), only recall is mentioned. This blog (https://learncuriously.wordpress.com/2018/10/21/confused-by-the-confusion-matrix/) said that they are the same thing with just two different names. Thanks!
All reactions