Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

k-mean with c language

 
webmaster forum
it_mooon  Offline
Activity
0%
 
New Poster
Posts: 2
Topics: 2
May 07, 2011, 11:45:47 AM

Dear all,

I want made experiments on k-mean algorithm
How i can find the k-mean algorithm source code with c language?
Thank you very much

 
webmaster forum
john14317  Offline
Activity
0%
 
Skilled Coder
Posts: 149
Topics: 0
July 05, 2011, 05:21:23 AM

visit this link :-  k-mean with c language http://www.eee.bham.ac.uk/russellm/ee3j2/k-means.c

payday loans
instant online cash advance
 
webmaster forum
kellylsn  Offline
Activity
0%
 
Professional Coder
Posts: 229
Topics: 7
July 18, 2011, 10:43:26 PM

It is very hard to get source code but just you try this url
http://www.codeding.com/?article=14
Hope you will satisfy.

Payday Loan
Online Easy Loans
 
webmaster forum
kellylsn  Offline
Activity
0%
 
Professional Coder
Posts: 229
Topics: 7
July 20, 2011, 11:44:47 PM

K -mean is the algorithm for solving clustering problem.
I will state few steps/ procedure of this algorithm.
The procedure follows a simple and easy way to classify a given data set through a certain number of clusters (assume k clusters) fixed a priori. The main idea is to define k centroids, one for each cluster. These centroids shoud be placed in a cunning way because of different location causes different result. So, the better choice is to place them as much as possible far away from each other. The next step is to take each point belonging to a given data set and associate it to the nearest centroid. When no point is pending, the first step is completed and an early groupage is done. At this point we need to re-calculate k new centroids as barycenters of the clusters resulting from the previous step. After we have these k new centroids, a new binding has to be done between the same data set points and the nearest new centroid. A loop has been generated. As a result of this loop we may notice that the k centroids change their location step by step until no more changes are done. In other words centroids do not move any more.

Payday Loan
Online Easy Loans
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page January 21, 2012, 09:23:16 PM