Code covered by the BSD License  

Highlights from
clusterData

4.25

4.2 | 4 ratings Rate this file 122 Downloads (last 30 days) File Size: 3.43 KB File ID: #35014
image thumbnail

clusterData

by Brett Shoelson

 

27 Jun 2012 (Updated 10 Jun 2013)

Clusters an MxN array of data into an unspecified number (P) of bins.

| Watch this File

File Information
Description

No a priori knowledge of the number of bins, or the distance between bins, is required. This approach relies on the relative difference between (sorted) elements of the data, and works well when the difference between clusters is bigger than the difference between elements within a cluster.
 
SYNTAX:
CLUSTERS = clusterData(DATA);

Operates column-by-column. An optional input allows you to specify the sensitivity of each columnwise clustering. Additional outputs also specify the indices of the cluster each row of data, and the bounds used to separate them.

Each column may have a different interpretation. For instance, an Mx4 array of data may represent x-data in the first column, y- in the second, z- in the third, and t- in the fourth. Returns a Px1 cell array, CLUSTERS, specifying the data points in each of the P clusters detected.

The final clustering utilizes all columns.

NOTE: This submission incorporates, expands, and replaces my earlier submission ezCluster.

MATLAB release MATLAB 7.13 (R2011b)
Other requirements Should be Toolbox and platform independent.
Tags for This File  
Everyone's Tags
cluster, clustering, data analysis(2), ezcluster, group data, kmeans, machine learning, number of clusters, sort data
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
25 Jun 2013 Brett Shoelson

Han, did you find some problem with the submission that led you to rate this so poorly? Do you have any comments to share that might help me understand why it merits a two-star rating?
Thanks,
Brett

25 Jun 2013 Han  
13 May 2013 Deanna  
11 May 2013 Joel

Excellent submission

18 Sep 2012 Venkat R

Very cool submission. I was searching different options to kind 'k' automatically in the k-means. This submission does it nicely.

10 Aug 2012 Brett Shoelson

PLEASE NOTE that this code uses tildes for argument placeholders. As such, it will not work without modification on releases prior to R2009b. Feel free to edit the code, or upgrade to a newer MATLAB!!!

Updates
10 Jun 2013

Modified the help to correct a doc bug. Higher sensitivity results in fewer clusters, not more. (No code change.)

Contact us