Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

An optimized clustering framework for 'Clustering by fast search and find of density peaks' in Science 2014.

License

Notifications You must be signed in to change notification settings

freesinger/density_peak_clustering

Repository files navigation

Density Peak Clustering

Awesome check top_language release size FOSSA Status

1. Dependencies

Python: 3.6.7

Lib: numpy, matplotlib

2. Files

  • data: Given data from this essay
  • images: Generated images for constructing framework
  • references: Essays used for this projects
  • report: Records and report
  • data_process.py: Data processing
  • cluster.py: Find cluster center and classify points
  • setup.py: Process given data and visualizing
  • generatePoints.py: Generating testing points dataset
  • plot.py: Process generated data and visualizing

3. Usage

  • Show the performance on given dataset:

>_ python3.6 setup.py

  • Show the performance on generate dataset:

>_ python3.6 generatePoints.py

>_ python3.6 plot.py

4. Performances

  • Dataset to be clustering:

generatedPoints

  • After clustering:

result

License

FOSSA Status