Train kmeans in Java API for BOW
Since the BOWTrainer currently is not implemented in the Java API I'm just recreating all of the steps manually, however I'm having trouble with creating a training model that can be reused on independent test data, specifically the clustering of feature vectors.
The kmeans operator will give you the resulting labels and the found centroids, but it does not provide any way of using those centroids to then cluster any new data.
At this point do I just need to implement my own version of kmeans that uses these center points, or is there a method somewhere in the Java API that will do this for me?
@EvanSimpson Have you managed to find a workaround?