Click to See Complete Forum and Search --> : K-means algorithm


yiannakop
August 10th, 2004, 12:57 PM
Hi everyone. I need to develop a k-means algorithm for vector quantization. The algorithm I've implemented is rather slow. Does anyone know any code or algorithm for "fast" k-means?
Thanx.

happyshub
June 26th, 2005, 07:35 AM
Hi everyone. I need to develop a k-means algorithm for vector quantization. The algorithm I've implemented is rather slow. Does anyone know any code or algorithm for "fast" k-means?
Thanx.
There is just one kmeans algorithm with time complexity O(nlogn)
and how will you go faster than this ....Actully before applyin KMEANS what you can do is reduce your SPACE that is use PCA (principal component analysis) or singilur value decompositon which will make algorithm work quickly

Hope it helps

proxima centaur
June 28th, 2005, 01:45 PM
If you precalculate all distances in a table between each point, then the algorithm will go fast after.

yiannakop
June 29th, 2005, 09:10 AM
Thanx for your suggestions guys.

If you precalculate all distances in a table between each point, then the algorithm will go fast after.
Correct me if I am wrong, but kmeans calculates (in each step) the distance between points and current centers (not points).

Leo6160
June 30th, 2005, 12:19 PM
Hi everyone. I need to develop a k-means algorithm for vector quantization. The algorithm I've implemented is rather slow. Does anyone know any code or algorithm for "fast" k-means?
Thanx.
Hai, can u post your code?

joseronal
July 16th, 2005, 11:20 PM
hello you can find aid in http://www.developerslatam.com greetings:)

yiannakop
July 17th, 2005, 11:10 AM
hello you can find aid in http://www.developerslatam.com greetings:)
Thanx, but I don't see where excactly can I find help in this link...
:confused: