버전 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 ( 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);
Input data are assumed COLUMN vectors!
You can only visualize 2d data!
This function is now a part of the PRML toolbox (

인용 양식

Mo Chen (2024). Kmedoids (, MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
Help CenterMATLAB Answers에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보

fix a bug


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

correct description

significantly simplify the code