Scoring the Top of the List

Recommender SystemsEasy+10 XP+10

Scoring the Top of the List

A recipe app tests its recommender the way the Precision and Recall at k lesson did. It hides every recipe each person cooked after a cut-off date, asks the recommender for each person's top 5, and checks each list against that person's hidden picks.

PersonTop 5, in order (slot 1 is shown first)Hidden picks
AnaPho, Dal, Ramen, Tacos, GumboRamen, Paella
BenCurry, Pesto, Bibimbap, Dal, RamenCurry
CaraTacos, Gumbo, Pho, Pesto, CurryPaella, Dal
DevGumbo, Paella, Curry, Ramen, PhoRamen, Paella
EliDal, Ramen, Pesto, Tacos, BibimbapBibimbap

Precision@5 treats all five slots the same. But people mostly look at the first slot or two, so the team also scores how high up the list the first hit sits. A person's reciprocal rank is

RR=1slot of the first hit in their list\text{RR} = \frac{1}{\text{slot of the first hit in their list}}RR=slot of the first hit in their list1​

and RR=0\text{RR} = 0RR=0 if their list has no hit at all. The mean reciprocal rank (MRR) is the average RR over everyone tested.

What is this recommender's MRR? Round to 3 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.