summaryrefslogtreecommitdiff
path: root/lazar.rb
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-01-30 16:17:00 +0100
committerAndreas Maunz <andreas@maunz.de>2012-01-30 16:17:00 +0100
commit165a82a504bf06136619af15ccc6e3be23c642fb (patch)
tree2db6d2021edeef7d51b35ff88cca994186a2af97 /lazar.rb
parent8035d64e9f1c9d49d1ec947204f78534ecc21e64 (diff)
Prop on not for wmv
Diffstat (limited to 'lazar.rb')
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index 6fd12ef..7fa0f96 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -105,7 +105,7 @@ post '/lazar/?' do
lazar.prediction_algorithm = "Neighbors.#{params[:prediction_algorithm]}" if params[:prediction_algorithm]
# Propositionalization
- propositionalized = true
+ propositionalized = (lazar.prediction_algorithm=="Neighbors.weighted_majority_vote" ? false : true)
# PC type
pc_type = params[:pc_type] unless params[:pc_type].nil?