Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBSCAN

Python 3.x

为数据挖掘课程设计而实现的一个DBSCAN聚类算法。
聚类完成后有图像表示。
暂时只能聚类二维点。

依赖

matplotlib(画图需要)

安装依赖

pip install matplotlib

用法

1.notepad打开config.ini,填写内容:
    data_file=待聚类数据文件(csv格式)的路径
    Eps=对象半径Eps
    MinPts=给定邻域N-Eps(p)包含的点的最小数目
  保存后退出。
2.运行main.py
3.观察console输出的簇和噪声,和matplotlib生成的散点图,得出结果。
4.与原数据文件同目录下产生保存有算法结果的文件。

About

An implementation of DBSCAN(Density-Based Spatial Clustering of Applications with Noise).

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages