diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-04-10 13:32:57 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-04-10 13:32:57 +0200 |
commit | 2732158ec7c447f5b57cc5d02473e50a395b4631 (patch) | |
tree | 72d3261c8f14f089517e50c279138f5c39d5c398 | |
parent | 57edb4f981f83a6a56f9d9e68b25d4e8ade3b7a5 (diff) |
Removed value_map from params
-rw-r--r-- | fminer.rb | 4 | ||||
-rw-r--r-- | lazar.rb | 1 |
2 files changed, 2 insertions, 3 deletions
@@ -167,7 +167,7 @@ post '/fminer/bbrc/?' do fminer.smi = [] # AM LAST: needed for matching the patterns back # Add data to fminer - fminer.add_fminer_data(@@bbrc, params, @value_map) + fminer.add_fminer_data(@@bbrc, @value_map) g_array=fminer.all_activities.values # DV: calculation of global median for effect calculation g_median=g_array.to_scale.median @@ -298,7 +298,7 @@ post '/fminer/last/?' do fminer.smi = [] # AM LAST: needed for matching the patterns back # Add data to fminer - fminer.add_fminer_data(@@last, params, @value_map) + fminer.add_fminer_data(@@last, @value_map) raise "No compounds in dataset #{fminer.training_dataset.uri}" if fminer.compounds.size==0 @@ -76,7 +76,6 @@ post '/lazar/?' do @training_classes = training_activities.accept_values(prediction_feature.uri).sort @training_classes.each_with_index { |c,i| lazar.value_map[i+1] = c # don't use '0': we must take the weighted mean later. - params[:value_map] = lazar.value_map } # Regression: SVM, Substructure.match_hits elsif prediction_feature.feature_type == "regression" |