RubyGems Navigation menu

hanny 0.2.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 (14KB)
  2. 0.2.1 - July 10, 2021 (13.5KB)
  3. 0.2.0 - June 25, 2021 (13.5KB)
  4. 0.1.0 - May 04, 2018 (13.5KB)

Runtime依存関係 (1):

numo-narray >= 0.9.1

所有者:

プッシュ者:

作者:

  • yoshoku

SHA 256チェックサム:

a1f3f7d21822f0b248c678e4d1204cfc007de0964c8698453f1b8f2b163b175a

累計ダウンロード数 6,065

このバージョンのみ 1,561

ライセンス:

BSD-2-Clause

必要なRubyのバージョン: >= 0

新しいバージョンはMFAを必要とします: true

リンク: