Skip to main content

precision

Function precision 

Source
pub fn precision(
    ground_truth: &[Vec<Neighbour>],
    approximate: &[Vec<Neighbour>],
) -> f64
Expand description

Compute precision: the fraction of returned results that are true neighbours.