Function recall_at_k

Source
pub fn recall_at_k(
    approximate: &[(u32, f32)],
    ground_truth: &[(u32, f32)],
) -> f64
Expand description

Compute recall@k: fraction of true kNN found by approximate search.