diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-06-08 18:26:07 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-06-08 18:26:07 +0200 |
commit | 0f31c884d1bcfa448a1bf43a41d8fd6cf88bfc52 (patch) | |
tree | b50005c5211487a0bfac93ac918f06d1bcd476ba /lib/classification.rb | |
parent | f7e87b45f15083e5fcdea64821f06ed93ece4c4e (diff) |
compound tests fixed
Diffstat (limited to 'lib/classification.rb')
-rw-r--r-- | lib/classification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classification.rb b/lib/classification.rb index 0f3c6d9..2ccd7d1 100644 --- a/lib/classification.rb +++ b/lib/classification.rb @@ -3,7 +3,7 @@ module OpenTox class Classification - def self.weighted_majority_vote substance, neighbors + def self.weighted_majority_vote substance:, neighbors: sims = {} neighbors.each do |neighbor| sim = neighbor["similarity"] |