Options
All
  • Public
  • Public/Protected
  • All
Menu

ml-dbscan

Index

Interfaces

Functions

Functions

  • dbscan(points: number[][], options?: DBScanOptions): undefined | number[]
  • Parameters

    • points: number[][]

      A list of data to perform the clustering on, like [[1], [2]], [[1, 2], [[3, 4]] or more dimensions `[[1, 2, 3, 4...],[...]].

    • options: DBScanOptions = {}

      dbscan related parameters.

    Returns undefined | number[]

    labels is the returned list of clustered group labels. A label of -1 indicates the point is noise