diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-11-30 10:02:15 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-11-30 10:02:15 +0100 |
commit | 3f150eb2aae74d8b9ba43c32a5ae655a3a7f71bf (patch) | |
tree | 5a081bdcf966a1e5918ca120a52b36b2e469bd6d /example.rb | |
parent | 65ec4bc561e10a895558876b551a3a5a5e05050d (diff) |
fix validation_type for example
Diffstat (limited to 'example.rb')
-rw-r--r-- | example.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -81,6 +81,7 @@ class Example split_params = Validation::Util.train_test_dataset_split(data_uri, URI.decode(@@feature), 0.9, 1) v = Validation::Validation.new :training_dataset_uri => split_params[:training_dataset_uri], + :validation_type => "test_set_validation", :test_dataset_uri => split_params[:test_dataset_uri], :test_target_dataset_uri => data_uri, :prediction_feature => URI.decode(@@feature), @@ -104,8 +105,7 @@ class Example log "build qmrf" t = ReachReports.create_report("QMRF",{:model_uri=>@@model}) - log Lib::TestUtil.wait_for_task(t) - #qmrf = OpenTox::RestClientWrapper.post(File.join(@@config[:services]["opentox-validation"],"reach_report/QMRF"),{:model_uri=>@@model}) + Lib::TestUtil.wait_for_task(t) task.progress(100) log "done" |