Code covered by the BSD License  

Highlights from
Spherical K-means

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 1.5 KB File ID: #28902

Spherical K-means

by Mo Chen

 

30 Sep 2010 (Updated 04 Feb 2012)

A kmeans like clustering algorithm to cluster data on a unit sphere.

| Watch this File

File Information
Description

Data are distributed on an unit sphere. i.e. data are normalized. Spherical k-means is the K-means algorithm on sphere, which groups data with small angels into the same cluster.

MATLAB release MATLAB 7.11 (2010b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
21 Jun 2011 Nirmal

spkmeans(data,3) gives me
ans =

     1 1 1 1

I am using the IRIS data. Even if I transpose the data before clustering all the data will be in the same cluster.
The implementation doesnt seem to work.

07 Feb 2012 Mo Chen

your input is not right. the function assumes dxn matrix.

even the result is not expected, it only means, this algorithm is not suitable for your data. it does not mean the implementation is wrong.

Please login to add a comment or rating.
Updates
04 Feb 2012

tuning

Tag Activity for this File
Tag Applied By Date/Time
clustering Mo Chen 01 Oct 2010 10:38:19

Contact us at files@mathworks.com