summaryrefslogtreecommitdiff
path: root/lib/algorithm.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-05-24 19:44:53 +0200
committermguetlein <martin.guetlein@gmail.com>2011-05-24 19:44:53 +0200
commit43572f94815a5ec4ca5b922dad3a1c1a140b7348 (patch)
treef970542505d9d171f4ff521645d87430565b9d23 /lib/algorithm.rb
parentaaff8d61a7b3bb96e79fbf575718764a071ced9a (diff)
remove empty space that produced a warning
Diffstat (limited to 'lib/algorithm.rb')
-rw-r--r--lib/algorithm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/algorithm.rb b/lib/algorithm.rb
index 5b41cbf..96b9df1 100644
--- a/lib/algorithm.rb
+++ b/lib/algorithm.rb
@@ -202,7 +202,7 @@ module OpenTox
acts_f = acts.collect {|v| v == true ? 1.0 : 0.0}
sims = neighbors.collect{ |n| Algorithm.gauss(n[:similarity]) } # similarity values btwn q and nbors
begin
- prediction = local_svm (neighbors, acts_f, sims, "C-bsvc", params)
+ prediction = local_svm(neighbors, acts_f, sims, "C-bsvc", params)
LOGGER.debug "Prediction is: '" + prediction.to_s + "'."
rescue Exception => e
LOGGER.debug "#{e.class}: #{e.message} #{e.backtrace}"