Kmedoids

バージョン 1.5 (2.78 KB) 作成者: Mo Chen
Very fast matlab implementation of kmedoids clustering algorithm
ダウンロード: 7.8K
更新 2019/1/23

ライセンスの表示

This is a fully vectorized version kmedoids clustering methods (http://en.wikipedia.org/wiki/K-medoids). It is usually more robust than kmeans algorithm. Please try following code for a demo:
close all; clear;
d = 2;
k = 3;
n = 500;
[X,label] = kmeansRnd(d,k,n);
y = kmedoids(X,k);
plotClass(X,label);
figure;
plotClass(X,y);
Input data are assumed COLUMN vectors!
You can only visualize 2d data!
This function is now a part of the PRML toolbox (http://www.mathworks.com/matlabcentral/fileexchange/55826-pattern-recognition-and-machine-learning-toolbox)

引用

Mo Chen (2024). Kmedoids (https://www.mathworks.com/matlabcentral/fileexchange/28898-kmedoids), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStatistics and Machine Learning Toolbox についてさらに検索
タグ タグを追加
謝辞

ヒントを得たファイル: Pattern Recognition and Machine Learning Toolbox

ヒントを与えたファイル: Parallel Coordinate Plots GUI toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.5

fix a bug

1.4.0.0

tweak

1.3.0.0

fix bug for k=1
improved numerical stability, remove empty clusters

1.2.0.0

correct description

1.1.0.0

significantly simplify the code

1.0.0.0