Skip to main content

dbscan_clustering

Function dbscan_clustering 

Source
pub fn dbscan_clustering(
    x: &[f64],
    y: &[f64],
    config: &DBSCANConfig,
) -> DBSCANResult
Expand description

Run DBSCAN clustering on 2D points.

§Arguments

  • x - X-coordinates of data points.
  • y - Y-coordinates of data points.
  • config - Algorithm configuration (eps, min_points).

§Panics

Panics if x and y have different lengths.