diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-05-27 10:09:35 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-05-27 10:09:35 +0200 |
commit | 654711ccecf3829f9ba8501fe67df06fd1aac9cf (patch) | |
tree | 9ec6babf6eb302bd379bcb5879a2b814dfce090f /lib/predictions.rb | |
parent | 5abed3eedb5e0bc763574ef6a24b006546bdb22f (diff) |
remove hack to determine prediction feature
Diffstat (limited to 'lib/predictions.rb')
-rwxr-xr-x | lib/predictions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/predictions.rb b/lib/predictions.rb index a449776..2409375 100755 --- a/lib/predictions.rb +++ b/lib/predictions.rb @@ -36,7 +36,7 @@ module Lib #puts "actual: "+actual_values.inspect #puts "confidence: "+confidence_values.inspect - raise "unknown feature_type: "+@feature_type.to_s unless + raise "unknown feature_type: '"+@feature_type.to_s+"'" unless @feature_type=="classification" || @feature_type=="regression" raise "no predictions" if @predicted_values.size == 0 num_info = "predicted:"+@predicted_values.size.to_s+ |