没有合适的资源?快使用搜索试试~ 我知道了~
cluster:用于聚类数据的python模块
共7个文件
py:4个
txt:1个
gitignore:1个
需积分: 26 0 下载量 88 浏览量
2021-06-20
13:20:17
上传
评论
收藏 21KB ZIP 举报
温馨提示
#簇 这是一个用于聚类数据的python模块。 它主要由三个类组成,如下所述。 观点 此类定义集群中的基本元素点。 默认距离函数使用欧几里得距离。 但是,您可以根据需要使用任何其他距离,只需使用您的距离函数初始化 Point 实例,例如: p = Point ([ 0 , 0 ], distance_function = your_function ) 您可能使用的属性和功能是: p . coordinates # a list of coordinates p . dimention # the dimention of this point p . index # the index for the point, default is -1 p1 . distance ( p2 ) # return the distance p1 . equal ( p2 ) # retur
资源推荐
资源详情
资源评论
收起资源包目录
cluster-master.zip (7个子文件)
cluster-master
.gitignore 13B
data.txt 28KB
__init__.py 0B
clustering.py 15KB
point.py 3KB
README.md 3KB
cluster.py 4KB
共 7 条
- 1
资源评论
空气安全讲堂
- 粉丝: 42
- 资源: 4795
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功