All Projects → jasonwbw → Densitypeakcluster

jasonwbw / Densitypeakcluster

Licence: mit
A cluster framework for 'Clustering by fast search and find of density peaks' in science 2014.

Programming Languages

python
139335 projects - #7 most used programming language

DensityPeakCluster

A cluster framework for 'Clustering by fast search and find of density peaks' in science 2014.

How to Use

Step0: If your data is not the distance between points but the points' vector, write you distance builder in distance like distance_builder_data_iris_flower.py.
Step1: Change the data file in step1_choose_center.py, then run it to choose cluster threshold.
Step2: Change the data file and threshold in step2_cluster.py, then run it.

python distance_builder_data_iris_flower.py
python step1_choose_center.py
python step2_cluster.py

Dependencies

  • NumPy: normal computing
  • Matplotlib: For plotting data to choose threshold
  • Scikit-Learn: use for mds to plot result (the code work with the version 0.14 and 0.18 are tested.)

Reference

License

The MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].