楼主: xiaoxue@
2366 16

[问答] 请问在R中,如何给谱聚类确定最佳聚类个数? [推广有奖]

  • 0关注
  • 0粉丝

本科生

83%

还不是VIP/贵宾

-

威望
0
论坛币
1 个
通用积分
1.3500
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1007 点
帖子
73
精华
0
在线时间
66 小时
注册时间
2021-1-29
最后登录
2022-8-30

楼主
xiaoxue@ 发表于 2021-5-18 10:15:56 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
请问在R中,如何给谱聚类确定最佳聚类个数?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝


沙发
owenqi 在职认证  学生认证  发表于 2021-5-18 11:52:53
如何定义“最佳”?建议你明确这个概念以后,在使用层次聚类去选择
https://uc-r.github.io/hc_clustering

藤椅
llb_321 在职认证  发表于 2021-5-18 12:00:30
NbClust::NbClust()
只是不知道能否用于谱聚类

板凳
owenqi 在职认证  学生认证  发表于 2021-5-18 12:27:57
llb_321 发表于 2021-5-18 12:00
NbClust::NbClust()
只是不知道能否用于谱聚类
即使用这个,还是得知道如何定义“最佳”吧,比如选择什么距离,用什么定义相似度(linkage)

报纸
llb_321 在职认证  发表于 2021-5-18 12:35:11
owenqi 发表于 2021-5-18 12:27
即使用这个,还是得知道如何定义“最佳”吧,比如选择什么距离,用什么定义相似度(linkage)

函数有参数设定选择的方法,比如欧式距离之类的

地板
xiaoxue@ 发表于 2021-5-18 16:10:22
llb_321 发表于 2021-5-18 12:35
函数有参数设定选择的方法,比如欧式距离之类的
您好,可能没有办法直接去确定,我可以咨询一下在R中,怎样调用高斯径向基核函数去计算矩阵的相似矩阵?

7
llb_321 在职认证  发表于 2021-5-18 20:03:29
抱歉,没做过谱聚类。您说的径向基核函数我不懂,看了一下算法还是计算距离,大概是从二维扩展到三维吧。所以也不敢胡说哪个包哪个函数适用你的需求。最近一段时间sos包好像定向不到网页了,所以查找函数功能变得非常麻烦,再找找啊

8
llb_321 在职认证  发表于 2021-5-18 20:34:41
speccalt        Alternative spectral clustering, with automatic estimation of k
Spectrum        Fast Adaptive Spectral Clustering for Single and Multi-View Data
geosptdb        Spatio-Temporal; Inverse Distance Weighting and Radial Basis Functions with Distance-Based Regression
看看这几个包可用吗?

9
llb_321 在职认证  发表于 2021-5-18 20:41:27
Spectrum: Fast Adaptive Spectral Clustering for Single and Multi-View Data
Spectrum

A self-tuning spectral clustering method for single or multi-view data. 'Spectrum' uses a new type of adaptive density aware kernel that strengthens connections in the graph based on common nearest neighbours. It uses a tensor product graph data integration and diffusion procedure to integrate different data sources and reduce noise. 'Spectrum' uses either the eigengap or multimodality gap heuristics to determine the number of clusters. The method is sufficiently flexible so that a wide range of Gaussian and non-Gaussian structures can be clustered with automatic selection of K.

10
llb_321 在职认证  发表于 2021-5-18 20:52:57
这个包里也有计算similarity matrix的函数
Ng谱聚类算法
method Numerical value: 1 = default eigengap method (Gaussian clusters), 2 = mul-timodality gap method (Gaussian/ non-Gaussian clusters), 3 = no automatic
method (see fixk param)

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-23 16:40