summaryrefslogtreecommitdiff
path: root/lazar.rb
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-04-10 13:32:57 +0200
committerAndreas Maunz <andreas@maunz.de>2012-04-10 13:32:57 +0200
commit2732158ec7c447f5b57cc5d02473e50a395b4631 (patch)
tree72d3261c8f14f089517e50c279138f5c39d5c398 /lazar.rb
parent57edb4f981f83a6a56f9d9e68b25d4e8ade3b7a5 (diff)
Removed value_map from params
Diffstat (limited to 'lazar.rb')
-rw-r--r--lazar.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index a79d406..a12fa18 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -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"