Skip to main content

adjusted_rand_index

Function adjusted_rand_index 

Source
pub fn adjusted_rand_index(
    a: &[Option<usize>],
    b: &[Option<usize>],
) -> Result<f64, ErrorsJSL>
Expand description

The adjusted Rand index between two clusterings of the same points (1 = identical up to relabelling, about 0 for random agreement). Noise is treated as one extra group.