Vitali Fedulov 2022-03-16 18:53:45 +01:00 committed by GitHub
parent b98bf8c70d
commit a96a06a77a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,10 +4,10 @@ This package allows fast approximate search of nearest neighbour vectors in n-di
Its functions discretize a vector and generate a set of hashes, as described [here](https://vitali-fedulov.github.io/algorithm-for-hashing-high-dimensional-float-vectors.html) (also as [PDF](https://github.com/vitali-fedulov/research/blob/main/Algorithm%20for%20hashing%20float%20vectors.pdf)).
To use the package follow the sequence of functions/methods:
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 (2). 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](https://github.com/vitali-fedulov/images3/blob/master/hashes.go) of usage for image comparison.
[Go doc](https://pkg.go.dev/github.com/vitali-fedulov/hyper) for the package.
[Go doc](https://pkg.go.dev/github.com/vitali-fedulov/hyper) for code documentation.