Hi,
Since this class makes use of nmslib, I think that it should also support fractional norms. The code below shows an example on using fractional norm with nmslib:
import numpy as np
import nmslib
X= np.random.randn(100,7)
index= nmslib.init(method= 'hnsw', space= 'lp', space_params= {'p': 0.1}, data_type= nmslib.DataType.DENSE_VECTOR)
index.addDataPointBatch(X)
index.createIndex()
Thanks for all,
Ivan
Hi,
Since this class makes use of nmslib, I think that it should also support fractional norms. The code below shows an example on using fractional norm with nmslib:
import numpy as np
import nmslib
X= np.random.randn(100,7)
index= nmslib.init(method= 'hnsw', space= 'lp', space_params= {'p': 0.1}, data_type= nmslib.DataType.DENSE_VECTOR)
index.addDataPointBatch(X)
index.createIndex()
Thanks for all,
Ivan