lsh 0.0.4-java → 0.0.5-java

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
@@ -2,7 +2,7 @@
2
2
  name: lsh
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: java
7
7
  authors:
8
8
  - Yves Raimond