MCPcopy Create free account
hub / github.com/dblalock/bolt / hamming_dists

Function hamming_dists

experiments/python/utils.py:171–172  ·  view source on GitHub ↗
(X, q)

Source from the content-addressed store, hash-verified

169
170
171def hamming_dists(X, q):
172 return np.array([hamming_dist(row, q) for row in X])
173
174
175if __name__ == '__main__':

Callers

nothing calls this directly

Calls 2

hamming_distFunction · 0.85
arrayMethod · 0.80

Tested by

no test coverage detected