Remix.run Logo
▲ E-means: 10x faster k-means at equal loss(e-means.github.io)
108 points by porridgeraisin 2 hours ago | 4 comments
▲Luke2642 7 minutes ago | parent | next [-]

This is a great example of why p=np is sometimes the wrong question. For this np hard problem approximate solutions are good enough, and if you get them 45x faster that's even better!

▲real_faxenoff 39 minutes ago | parent | prev | next [-]

I adapted the method to my IVF index (the code-daemon project) and achieved a 146x speedup on the GPU.

That's impressive!

▲wood_spirit an hour ago | parent | prev [-]

This looks awesome. Obvious in hindsight! The viz really explains it well.

Hope it gets added to scipy - it’s much more available in the envs many use than facebooks own faiss library.

▲porridgeraisin an hour ago | parent [-]

The automatic hyperparameter laws don't seem intuitive to me yet. Do you have any intuition for it?