alitouka / spark_dbscan

DBSCAN clustering algorithm on top of Apache Spark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spark DBSCAN is an implementation of the DBSCAN clustering algorithm on top of Apache Spark . It also includes 2 simple tools which will help you choose parameters of the DBSCAN algorithm.

Clusters identified by the DBSCAN algorithm

This software is EXPERIMENTAL , it supports only Euclidean and Manhattan distance measures ( why? ) and it is not well optimized yet. I tested it only on small datasets (millions of records with 2 features in each record).

You can use Spark DBSCAN as a standalone application which you can submit to a Spark cluster ( Learn how ). Alternatively, you can include it into your own app - its API is documented and easy to use ( Learn how ).

Learn more about:

Performance

Performance chart

Credits

I was glad to receive contributions from other people and I'd like to say thank you:

  • Mark Geraty - for fixing a bug with Java RDDs;
  • @agrinh - for adding compatibility with Spark 1.1.0

About

DBSCAN clustering algorithm on top of Apache Spark

License:Apache License 2.0


Languages

Language:HTML 57.4%Language:JavaScript 23.5%Language:Scala 16.5%Language:CSS 2.2%Language:R 0.4%