From 91787edb3682900bc5a2feeca66e5142f387fcc6 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Fri, 7 Oct 2016 10:25:58 +0200 Subject: unified interface for prediction algorithms --- lib/classification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/classification.rb') 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"] -- cgit v1.2.3