Mean Reciprocal Rank is a measure to evaluate systems that return a ranked list of answers to queries.
For a single query, the reciprocal rank is where is the position of the highest-ranked answer ( for answers returned in a query). If no correct answer was returned in the query, then the reciprocal rank is 0.
For multiple queries , the Mean Reciprocal Rank is the mean of the reciprocal ranks.