kakao / n2

TOROS N2 - lightweight approximate Nearest Neighbor library which runs fast even with large datasets
Apache License 2.0
569 stars 70 forks source link

Support Hamming-Distance #41

Open tim-hilt opened 3 years ago

tim-hilt commented 3 years ago

Nmslib supports using binary data with HNSW, specifically using Jaccard- or Hamming-distance.

I work with ORB-descriptors and would love to be able to use N2 in my work.

Without looking into the code: What so you think about adding support for Hamming-distance into the library?