Sha256: 2d373b606a0103277f5afa10fa10c17518f28d5303ca751ab95d4f99baeacdb7
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'hanny/version' Gem::Specification.new do |spec| spec.name = 'hanny' spec.version = Hanny::VERSION spec.authors = ['yoshoku'] spec.email = ['yoshoku@outlook.com'] spec.summary = 'Hanny is a Hash-based Approximate Nearest Neighbor search library in Ruby.' spec.description = <<MSG 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. MSG spec.homepage = 'https://github.com/yoshoku/hanny' spec.license = 'BSD-2-Clause' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features|sig-deps)/}) end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_runtime_dependency 'numo-narray', '>= 0.9.1' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hanny-0.2.1 | hanny.gemspec |