You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am a bit confused on how the metric HITS is calculated.
According to the article, HITS is defined as "the proportion of the correct docids ranked in the top 1 and top 10 predictions." However, it appears that the code implements HITS@N differently.
In the code, HITS@N is calculated as the proportion of queries that retrieve at least one correct document in the top N rankings. Could someone confirm if my understanding is correct?
The text was updated successfully, but these errors were encountered:
Refer to Lightning AI, the hit rate is 1.0 if there is at least one relevant document among all the top k retrieved documents.
I think the definition of the hit rate should not contain the ranking concept.
Hence, the calculation in the code should be correct.
Hope this helps!
Hi,
I am a bit confused on how the metric HITS is calculated.
According to the article, HITS is defined as "the proportion of the correct docids ranked in the top 1 and top 10 predictions." However, it appears that the code implements HITS@N differently.
In the code, HITS@N is calculated as the proportion of queries that retrieve at least one correct document in the top N rankings. Could someone confirm if my understanding is correct?
The text was updated successfully, but these errors were encountered: