Skip to content

Lightweight Java implementation of density-based clustering algorithm DBSCAN

License

Notifications You must be signed in to change notification settings

chrfrantz/DBSCAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DBSCAN

Lightweight Java implementation of density-based clustering algorithm DBSCAN

Download/Building

You can download the latest jar file from the releases page.

To build the library, you can either compile the sources manually or use maven (mvn package).

Usage

  • Implement a distance metric for the data type to be clustered (using the interface org.christopherfrantz.dbscan.DistanceMetric; for an example see the implementation org.christopherfrantz.dbscan.metrics.DistanceMetricNumbers or consult the tests).
  • Instantiate DBSCANClusterer.
  • Invoke performClustering() to retrieve the clustered inputs. See tests for examples.