LoginSignup
2
1

More than 3 years have passed since last update.

k-meansにカーネルトリックを適用する

Posted at

参考にした論文

Inderjit S. Dhillon,Yuqiang Guan,Brian Kulis:Kernel k-means, Spectral Clustering and Normalized Cuts

k-means

設定された距離に従って、近い者同士でグループに分ける。通常はユークリッド距離で分ける。

詳しい理論はK-means 理論編をどうぞ。

結果のイメージは下の図のような感じ。centroidは各グループの平均ベクトル。

d

ユークリッド距離だと下の図のようなデータはうまく分類できない。

d

そこで、カーネルトリックを使って次のように分類することができた。

詳しい理論はカーネルK-means 理論編をどうぞ。

結果はこんな感じ。

d

実装編の記事はカーネルk-meansの実装をどうぞ。

終わり。

homepageはこちらをどうぞ。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1