1 Replies - 5715 Views - Last Post: 09 September 2010 - 08:39 AM Rate Topic: -----

#1 kari_mca  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 09-September 10

how to perform word clustering using k-means algorithm in java

Posted 09 September 2010 - 05:38 AM

Hi friends,

How to perform word clustering using k-means algorithm in java. From the set of documents, I get word and its frequency count. Then i dont know how to start for clustering.I already search google. But no idea. Tell me the steps to perform word clustering. Very needful now. Thanks in advance.
Is This A Good Question/Topic? 0
  • +

Replies To: how to perform word clustering using k-means algorithm in java

#2 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10444
  • View blog
  • Posts: 38,682
  • Joined: 27-December 08

Re: how to perform word clustering using k-means algorithm in java

Posted 09 September 2010 - 08:39 AM

Perhaps the Wikipedia article is a good starting point. The data structure I'd use here is a Map, with the word as the key and the frequency as the value. I demonstrate this in my snippet finding the mode using a map with ints.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1