Some notes on how to implement this here: http://mlwiki.org/index.php/Bit_Sampling_LSH
Some notes on how to implement this here: http://mlwiki.org/index.php/Bit_Sampling_LSH