diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/feature_util.rb | 3 | ||||
-rwxr-xr-x | lib/validation_db.rb | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/feature_util.rb b/lib/feature_util.rb index 286c05e..e412416 100644 --- a/lib/feature_util.rb +++ b/lib/feature_util.rb @@ -52,7 +52,8 @@ module Lib end end end - raise "could not estimate predicted variable" unless predicted_variable + raise "could not estimate predicted variable, model: '"+model.uri.to_s+"', prediction_dataset: '"+ + prediction_dataset_uri.to_s+"'" unless predicted_variable end {:predicted_variable => predicted_variable, :predicted_confidence => predicted_confidence} diff --git a/lib/validation_db.rb b/lib/validation_db.rb index e2595c5..c38b82e 100755 --- a/lib/validation_db.rb +++ b/lib/validation_db.rb @@ -136,6 +136,7 @@ module Validation attribute :random_seed attribute :finished attribute :stratified + attribute :loo attr_accessor :subjectid @@ -145,6 +146,7 @@ module Validation index :random_seed index :stratified index :finished + index :loo def self.create(params={}) params[:date] = Time.new |