Function dbscan::cluster[][src]

pub fn cluster<T>(
    eps: f64,
    min_points: usize,
    input: &Vec<Vec<T>>
) -> Vec<Classification> where
    T: Copy,
    f64: From<T>, 

Cluster datapoints using the DBSCAN algorithm

Arguments

  • eps - maximum distance between datapoints within a cluster
  • min_points - minimum number of datapoints to make a cluster
  • input - a Vec<Vec> of datapoints, organized by row