hyper/README.md

1006 B

Hashing N-dimensional float vectors

Search nearest neighbour vectors in n-dimensional space with hashes. There are no dependencies in this package.

Each vestor is discretized into a set of hashes, as described here (also as PDF).

Usage sequence:

  1. CubeSet or CentralCube, depending which one is used for a database record and which one for a query.
  2. HashSet and DecimalHash to get corresponding hash set and central hash from results of (1). If DecimalHash is not suitable because of very large number of buckets or dimensions, use FNV1aHash to get both the hash set and the central hash).

Example of usage for image comparison.

Go doc for code documentation.