KMeans clustering for more than 5 million vectors

爷,独闯天下 提交于 2020-01-21 11:58:26

问题


I have hit a real problem. I need to do some Kmeans clustering for 5 million vectors, each containing about 32 cols. I tried out Mahout which requires linux and I am on windows, I am restrained from using a Linux OS and any sort of simulator.

Can anyone suggest a KMeans clustering algorithm that is scalable upto 5M vectors and can converge quickly?

I have tested a few but they wont scale. Which means they are slow and take forever to complete.

Thanks


回答1:


OK, So who ever wants clustering for large scale datasets, the only way of doing so is to use Mahout. IT requires a linux platform. So I had to use virtual box, placed Ubuntu on it and then used Mahout. Its a lengthy procedure to set up Mahout, but the two links that I used are as follows.

http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_(Single-Node_Cluster)

http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_(Multi-Node_Cluster)



来源:https://stackoverflow.com/questions/3403981/kmeans-clustering-for-more-than-5-million-vectors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!