pub fn ndcg(returned: &[String], relevant: &[String]) -> f32
Normalized discounted cumulative gain over binary relevance.