lsh 0.4.1-java → 0.4.2-java
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lsh/storage/redis_backend.rb +1 -1
- metadata +1 -1
@@ -77,7 +77,7 @@ module LSH
|
|
77
77
|
@projections ||= (
|
78
78
|
projections = []
|
79
79
|
parameters[:number_of_independent_projections].times do |i|
|
80
|
-
m = MathUtil.zeros(parameters[:
|
80
|
+
m = MathUtil.zeros(parameters[:number_of_random_vectors], parameters[:dim])
|
81
81
|
m.load(File.join(@data_dir, 'projections', "projection_#{i}.dat"))
|
82
82
|
projections << m
|
83
83
|
end
|