[WIP] Locality Sensitive Hashing for approximate nearest neighbor search(GSoC)

Do you mean to create a transform function for getting dot product and conversion to binary? Where should this function be included?