You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Fractional norms and various other metrics supported by nmslib will be available in the upcoming scikit-hubness v0.30. (No PyPI yet, but one can already install from the sources).
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
The text was updated successfully, but these errors were encountered: