diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-05-26 14:27:13 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-05-26 14:27:13 +0200 |
commit | 017efa8e3ada72dfeb3256f36784e99518a5ee07 (patch) | |
tree | c3f756164348e1a74d27c84c03de97294f3dd5c1 /lazar.rb | |
parent | 14fb4c96ba9a672b236de42fe967e40bbed561f7 (diff) |
Prop kernel
Diffstat (limited to 'lazar.rb')
-rw-r--r-- | lazar.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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] |