Ranking: Difference between revisions
Line 36: | Line 36: | ||
{{main | Wikipedia: Mean reciprocal rank}} | {{main | Wikipedia: Mean reciprocal rank}} | ||
If you only have one correct answer which is placed in rank <math>i</math> then the reciprocal rank is <math>1/i</math>.<br> | If you only have one correct answer which is placed in rank <math>i</math> then the reciprocal rank is <math>1/i</math>.<br> | ||
For multiple queries and results, the mean reciprocal rank is simply <math>\mean(1/rank)</math>. | For multiple queries and results, the mean reciprocal rank is simply <math>\operatorname{mean}(1/rank)</math>. |