I'm using an existing implementation of LSH and I'm not quite sure about how to determine the right number of hash tables and key size. Is there a relation between the size of data that is being hashed to the table and key sizes?

asked Jul 25 '12 at 15:41

mugetsu's gravatar image

mugetsu
233212431


One Answer:

I assume you're doing LSH for k-NN. Is that true?

I give a detailed description here of how to select the hyperparameters for LSH. Please let me know if you have more questions.

In fact, I'm surprised that no one has built an LSH implementation that helps you with hyperparameter selection. If you build a script on top of your existing implementation, that measures speed and accuracy tradeoffs for the different choices of hyperparams, I bet that a lot of people would use it.

answered Aug 05 '12 at 16:10

Joseph%20Turian's gravatar image

Joseph Turian ♦♦
579051125146

Your answer
toggle preview

powered by OSQA

User submitted content is under Creative Commons: Attribution - Share Alike; Other things copyright (C) 2010, MetaOptimize LLC.