diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-01-23 08:08:31 +0100 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-01-23 08:08:31 +0100 |
commit | 6b9482101ff26b3e31cf145c4786ada56923d5f7 (patch) | |
tree | c00488e98c9ee69467b3d27cb48dc7f5daad3617 | |
parent | ff279abf4d148b2708a7e2e1b7ee3df5b4387763 (diff) |
Fixed bug in lazar.rb: propositionalized not set correctly
-rw-r--r-- | lazar.rb | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -106,13 +106,7 @@ post '/lazar/?' do # Propositionalization propositionalized = false - propositionalized = true if ( params[:propositionalized] != "false" && - ( params[:prediction_algorithm] == "local_mlr_prop" || - ( params[:prediction_algorithm] && - params[:prediction_algorithm].include?("local_svm") - ) - ) - ) + propositionalized = true if ( params[:propositionalized] != "false" && ( lazar.prediction_algorithm == "local_mlr_prop" || lazar.prediction_algorithm.include?("local_svm") ) ) # PC type pc_type = params[:pc_type] unless params[:pc_type].nil? |