lsh 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/lsh/index.rb +4 -0
  2. metadata +1 -1
data/lib/lsh/index.rb CHANGED
@@ -136,6 +136,10 @@ module LSH
136
136
  MathUtil.dot(v1, v2)
137
137
  end
138
138
 
139
+ def inspect
140
+ "LSH index; dimension: #{@dim}; window size: #{@window}; #{@number_of_random_vectors} random vectors; #{@number_of_independent_projections} independent projections"
141
+ end
142
+
139
143
  end
140
144
 
141
145
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lsh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: