RubyGems Navigation menu

hanny 0.1.0

Hanny is a Hash-based Approximate Nearest Neighbor (ANN) search library in Ruby. Hash-based ANN converts vector data into binary codes and builds a hash table by using the binary codes as hash keys. To build the hash table, Hanny uses Locality Sensitive Hashing (LSH) of approximating cosine similarity. It is known that if the code length is sufficiently long (ex. greater than 128-bit), LSH can obtain high search performance. In the experiment, Hanny achieved about twenty times faster search speed than the brute-force search by Euclidean distance.

Gemfile:
=

安装:
=

版本列表:

  1. 0.2.2 August 27, 2022 (14.0 KB)
  2. 0.2.1 July 10, 2021 (13.5 KB)
  3. 0.2.0 June 25, 2021 (13.5 KB)
  4. 0.1.0 May 04, 2018 (13.5 KB)

Runtime 依赖 (1):

numo-narray >= 0.9.0

Development 依赖 (4):

bundler ~> 1.16
coveralls ~> 0.8
rake ~> 10.0
rspec ~> 3.0

业主:

作者:

  • yoshoku

SHA 256 校验和:

=

下载总量 6,390

这个版本 1,936

版本发布:

许可:

BSD-2-Clause

需要的 Ruby 版本: >= 2.1

新的版本需要开启多因素验证: true

链接: