yahoo/Optimal-LSH — pull request #2 by olddaos (2014-07-02 12:02:35+00:00)
Title: Minor bugfix in order to make inserting data into table work

Hi, and thanks for a great code. But one small problem is that I found it impossible to create LSH index using the most current code in your repository. In CalculateHashes you try to fill in bins using standard code, computing projections in form floor( bias + projection*data/w). But the code, which tries to do that, accidentally have dimensions disagreement. I just fixed this using slice and transpose, and left the rest intact.

I plan to make your code run under Hadoop, so, if you are interested, let's stay in touch :-)