Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.. :p
 

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.. :p

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top