pub fn mrr(ranked: &[String], relevant: &[String]) -> f64Expand description
Mean Reciprocal Rank of the first relevant item in ranked (1-based).
Returns 1/rank where rank is the 1-based position of the first relevant
item. Returns 0.0 when no relevant item appears in ranked.