vectorization - Vectorizing text file in java for kmeans clustering java encog -
i using java encog machine learning library running kmeans clustering. problem is possible on numeric data. there way vectorize text file(data) can directly feed kmeans clustering algorithm.
i new space. appreciated.
try using object out put stream follow
bytearrayoutputstream baos = new bytearrayoutputstream(); objectoutputstream oos = new objectoutputstream(baos); oos.writeobject("your_text"); oos.close();
Comments
Post a Comment