diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-10-07 10:25:58 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-10-07 10:25:58 +0200 |
commit | 91787edb3682900bc5a2feeca66e5142f387fcc6 (patch) | |
tree | fcb189bb8e84c9b3727b29f0846a5f820b596aee /lib/classification.rb | |
parent | 4348eec89033e6677c9f628646fc67bd03c73fe6 (diff) |
unified interface for prediction algorithms
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 01ba878..6582e7d 100644 --- a/lib/classification.rb +++ b/lib/classification.rb @@ -3,7 +3,7 @@ module OpenTox class Classification - def self.weighted_majority_vote descriptors:nil, neighbors: + def self.weighted_majority_vote descriptors:nil, neighbors:, method:nil, relevant_features:nil sims = {} neighbors.each do |neighbor| sim = neighbor["similarity"] |