Vincent A.
Vincent A.
In order to compile with gcc 4.8.2 I had to add `set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")` in my CMakeLists.txt Since the former generation of comiplers require `-std=c++0x` a better idea would be...
The help for the storage_config parameter was outdated.
On the following quick test, I didn't have any extra data. I had to remove the "[0]" to get the proper result. import lsh lsh = lshash.LSHash(hash_size=6,input_dim=8,storage_config={"redis":{"host":"127.0.0.1","port":6380}}) lsh.index([1,2,3,4,5,6,7,8]) lsh.index([2,3,4,5,6,7,8,9]) print...