Clustering by fast search and find of density peaks代码详解



发表在2014年Science上的聚类方法Clustering by fast search and find of density peaks,不在这赘述介绍了,其matlab代码详细注释下面给出,如果想看该方法的详细解释说明,推荐在阅读原文的基础上,参考这位博主的博文

http://blog.csdn.net/itplus/article/details/38926837

本文版权所有  转载请注明出处

http://blog.csdn.net/mxlmhgzw

无法看清的,请见我博客

http://blog.sina.com.cn/s/blog_6ca0f5eb0102vdt8.html

 

Clustering by fast search and find of density peaks代码详解_第1张图片

如果运行代码报错,

     查出Y1 = mdscale(dist, 2, 'criterion','metricsstress');这句报错

??? Error using ==> mdscale>metricStressCrit at 686

Points in the configuration have co-located.  Try a different starting point, or use a different criterion.

 

Error in ==> mdscale>MDS at 498

    [stress,grad] = feval_r(stressFun, Y, disparities, weights);

 

Error in ==> mdscale at 404

            [Y,stress,iter] = MDS(Y0,dissimilarities,weights,stressFun,metric,weighted,options);

 

Error in ==> cluster_dp at 181

可以修改最后一个参数,把它改成'metricsstress' 或 'sammon' 或 'strain'

 

需要这篇论文相关资料,可以到作者的主页上找

http://people.sissa.it/~laio/Research/Res_clustering.php

 

如果觉得本文对你有帮助,不妨扫描请笔者吃点小点心

Clustering by fast search and find of density peaks代码详解_第2张图片



你可能感兴趣的:(计算机,聚类算法)