[][src]Function kddbscan::cluster

pub fn cluster<T: IntoPoint>(
    points: Vec<T>,
    k: u32,
    n: Option<u32>,
    deviation_factor: Option<u32>
) -> Vec<PointWrapper<T>>

Clustering a vec of structs

  • points - Vector of points. All points should implement the IntoPoint trait
  • k - Value of k constant
  • n - The minimal number of the mutual neighborhood. Default value is 1
  • deviation_factor - Deviation Factor. Default value is 999999