Part 6 of 6 · What interviewers ask nextCheck yourself
Check yourself
5 questions
1.Your ranker shows grades [1, 3] and you compute NDCG at k = 1. What's the right value?
2.Your labels are binary, booked or not. Does it matter whether the gain is 2^rel - 1 or rel?
3.An IPS function multiplies each click by its propensity instead of dividing. On the practice log, where the true top-position rate is 0.3, what does it return?
4.Some impressions sit at a position with propensity 0.01, and you clip propensities at 0.1. What changes?
5.Why can't you take propensities from production click-through rate by position?
That's the lesson.
Now the problem this lesson builds to: 18 Ranking metrics and position bias (NumPy)Practice it