KNsiva
KNsiva

Reputation: 387

Cluster thousands of text documents in java

Is there efficient way clustering text documents? I thought about K-Means but it seems to be too time consuming. Can somebody provide me with an efficient method?

Upvotes: 3

Views: 1486

Answers (2)

Radi
Radi

Reputation: 6624

clustering algorithm depends on your dataset , do you want to write a algorithm in java to cluster your documents ? , you can use weka instead of reinvent the wheel and to try another clustering algorithm on your dataset .

Upvotes: 1

Mike Dunlavey
Mike Dunlavey

Reputation: 40709

If K-Means actually does the job, and simply seems to be slow, then why not try to make it faster? The method I use is random-pausing.

It's usually the case that there is lots of room for speedup, in code you wouldn't have thought to be a problem, without changing the basic algorithm. Here's an example.

Upvotes: 1

Related Questions