Centroid algorithm for text classification, tools?

397 Views Asked by At

As discussed here, Do you know of any tools which provides a centroid algorithm for text classification in java?

1

There are 1 best solutions below

11
On

scikit-learn includes this as the class NearestCentroid. It also includes an implementation of L2-normalized tf-idf.

[Disclaimer: I'm a scikit-learn developer.]