summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-05-26 14:27:13 +0200
committerAndreas Maunz <andreas@maunz.de>2011-05-26 14:27:13 +0200
commit017efa8e3ada72dfeb3256f36784e99518a5ee07 (patch)
treec3f756164348e1a74d27c84c03de97294f3dd5c1
parent14fb4c96ba9a672b236de42fe967e40bbed561f7 (diff)
Prop kernel
-rw-r--r--lazar.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lazar.rb b/lazar.rb
index 403d99c..9262f2f 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -133,6 +133,7 @@ post '/lazar/?' do
# AM: allow prediction_algorithm override by user for classification AND regression
lazar.prediction_algorithm = "Neighbors.#{params[:prediction_algorithm]}" unless params[:prediction_algorithm].nil?
+ lazar.prop_kernel = true if params[:local_svm_kernel] == "propositionalized"
training_activities.data_entries.each do |compound,entry|
lazar.activities[compound] = [] unless lazar.activities[compound]