DensityPeakCluster
A cluster framework for 'Clustering by fast search and find of density peaks' in science 2014.
Install / Use
/learn @jasonwbw/DensityPeakClusterREADME
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)
Related Skills
node-connect
348.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
