日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

clustering

發布時間:2025/3/21 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 clustering 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

層次化聚類可以使用樹圖表示。

自頂向下: 所有節點當做同一類, 然后逐層劃分

自底向上: 每個節點都是獨立的類, 然后逐層合并

?

其中需要用到兩個距離函數, 用來識別“相似”:

1 metric: N范式、高維向量夾角衡量點與點之間的相似度

2 linkage:衡量類與類之間的相似度:

?2.1) max{d(x,h): x in A, y in B}

?2.2) min{d(x,h): x in A, y in B}

?2.3) sigma(d(x,y))/(|A|*|B|), 均值, 類間所有點的距離之和的均值

?以下幾個不甚明白

  • The sum of all intra-cluster variance.
  • The increase in variance for the cluster being merged (Ward's criterion).
  • The probability that candidate clusters spawn from the same distribution function (V-linkage).
  • ?

    在樹的每一層都是一種聚類結果及對應的類個數

    ?

    ?

    http://en.wikipedia.org/wiki/Hierarchical_clustering

    ?

    ?

    基于劃分

    k-means, 優勢是算法簡單且快,可以處理大數據量;

    缺點是每次算法過程得到的結果并不一定相同,取決于初始的隨機k個質點;最小化了類內的方差,但不保證全局的最小方差; 并且要求均值是可定義的有意義的(質點是用均值計算得到的)【當均值無意義時, 可以使用k-medoids代替, 該算法選取中位點作為質點】

    ?

    模糊c-means: 點可以概率性的屬于多個類

    ?

    QT clustering(quality threshold), 算法流程:

    • The user chooses a maximum diameter for clusters.
    • Build a candidate cluster for each point by iteratively including the point that is closest to the group, until the diameter of the cluster surpasses the threshold.
    • Save the candidate cluster with the most points as the first true cluster, and remove all points in the cluster from further consideration. Must clarify what happens if more than 1 cluster has the maximum number of points??
    • Recurse with the reduced set of points.

    The distance between a point and a group of points is computed using complete linkage, i.e. as the maximum distance from the point to any member of the group (see the "Agglomerative hierarchical clustering" section about distance between clusters).

    ?

    spectral clustering:

    ?

    ?

總結

以上是生活随笔為你收集整理的clustering的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。