diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2009-12-14 15:12:37 +0100 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2009-12-14 15:12:37 +0100 |
commit | f5a6f160afd864848c3b3a11a0f643b395159763 (patch) | |
tree | 74ca62c51f62116a19f567a98d2b88476e54b220 /lib/validation_db.rb | |
parent | c647dd756a74bbd2ad61b2e8158d6afe7a175965 (diff) |
added support for non-binary classification
Diffstat (limited to 'lib/validation_db.rb')
-rw-r--r-- | lib/validation_db.rb | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/validation_db.rb b/lib/validation_db.rb index bfebb40..3a74bfb 100644 --- a/lib/validation_db.rb +++ b/lib/validation_db.rb @@ -14,12 +14,20 @@ module Lib property :training_dataset_uri, String, :length => 255 property :test_dataset_uri, String, :length => 255 property :prediction_dataset_uri, String, :length => 255 + property :prediction_feature, String, :length => 255 property :finished, Boolean, :default => false property :created_at, DateTime - property :elapsedTimeTesting, Float - property :CPUTimeTesting, Float + property :real_runtime, Float + #property :cpu_runtime, Float - property :classification_info, Object #Hash + property :num_instances, Integer + property :num_without_class, Integer + property :percent_without_class, Integer + property :num_unpredicted, Integer + property :percent_unpredicted, Integer + + property :classification_statistics, Object #Hash + property :regression_statistics, Object property :crossvalidation_id, Integer property :crossvalidation_fold, Integer @@ -32,7 +40,6 @@ module Lib property :algorithm_uri, String, :length => 255 property :dataset_uri, String, :length => 255 property :num_folds, Integer, :default => 10 - property :prediction_feature, String, :length => 255 property :stratified, Boolean, :default => false property :random_seed, Integer, :default => 1 property :finished, Boolean, :default => false |