as 1bit embedding vectors become more common it has become worth the effort to support bitpacked (into uint8) vectors of binary data via hamming and jaccard distance (notionally equivalent to inner-product and cosine distances). This should add basic support via the metric "bit_hamming" and "bit_jaccard" assumiong data is passed as an ndarray of dtype np.uint8.
as 1bit embedding vectors become more common it has become worth the effort to support bitpacked (into uint8) vectors of binary data via hamming and jaccard distance (notionally equivalent to inner-product and cosine distances). This should add basic support via the metric
"bit_hamming"
and"bit_jaccard"
assumiong data is passed as an ndarray of dtypenp.uint8
.