Implementation of DBSCAN Algorithm in Python.
Switch branches/tags
Nothing to show
Clone or download
Sushant Kafle (RIT Student)
Sushant Kafle (RIT Student) changing it back
Latest commit 92f015f Jul 15, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data more test datasets added Jul 14, 2017
img Added support to cluster 3D points Jul 13, 2017
.gitignore added gitignore Jul 14, 2017
README.md made readme more readable Jul 13, 2017
cluster.py fixed get_Z function Jul 14, 2017
config few changes; fixed 'Same points are ..' Jul 14, 2017
dbscanner.py changing it back Jul 14, 2017
main.py refactored get_distance Jul 14, 2017

README.md

DBSCAN

Implementation of DBSCAN Algorithm in Python.

Input:

It takes two inputs. First one is the .csv file which contains the data (no headers). In 'main.py' change line 12 to:

DATA = '/path/to/csv/file.csv'

And the second is the config file which contains few parameters necessary for the algorithm. More details inside 'config' file. You can change the 'config' file as per your requirement.

UPDATE: July 13, 2017 - The code has been updated to support 3D points. Although technically, it can be used to perform multi-demensional clustering (might need to tweak the code more) - it is the visualization part will not work as expected.

Few Snapshots

2-D Clustering in action

3-D Clustering in action