Looking for K-means clustering algorithm

Status
Not open for further replies.

adit_alive

Newbie level 4
Joined
May 19, 2010
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,312
K-means clustering

Hey there,
I want a working algo of k-means algorithm.

Facing problems with biclustering..!!

Hoping for a +ve reply this time..
 

If you are familiar with MATLAB, there is a k-mean function in matlab. If you plan to use C/C++, you can look at the book called numerical recipe in C to get k-mean c-function.
 

Re: K-means clustering

Hey there,
I want a working algo of k-means algorithm.

Facing problems with biclustering..!!

Hoping for a +ve reply this time..

k-means in general is fairly simple to implement.
The results of the algorithm depend a lot on your parameters.
First off, finding true k is essential.
Use a cross validation with a scree plot to find the true k.

k-means tends to be sensitive to the random clusters generated at the start of the algorithm.
So run it several times to find the best result.

Also consider Fuzzy k-means or even EM algorithm (depends on how much noise you have and the origin of the data).

Also take a look at: Cluster Analysis
If you don't have access to MATLAB, try Weka (it's free) Weka 3 - Data Mining with Open Source Machine Learning Software in Java
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…