FALCONN icon indicating copy to clipboard operation
FALCONN copied to clipboard

something error in params.feature_hashing_dimension parameters

Open selous123 opened this issue 5 years ago • 1 comments

I have run your codes in python/benchmark/random_benchmark.py

but if I run your code in high dimension setting such as with dimension $d=10000$ I want to set params_cp.feature_hashing_dimension = 1024

but error occors

AttributeError: '_falconn.LSHConstructionParameters' object has no attribute 'feature_hashing_dimension'

Any solution about this?

selous123 avatar May 26 '19 07:05 selous123

@selous123 the python wrapper does not support sparse datasets yet, and that is the reason this param is not exposed yet.

See here: https://github.com/FALCONN-LIB/FALCONN/blob/master/src/python/wrapper/python_wrapper.cc#L517

chinmoy-dutta avatar Feb 09 '20 19:02 chinmoy-dutta