From 3f150eb2aae74d8b9ba43c32a5ae655a3a7f71bf Mon Sep 17 00:00:00 2001 From: mguetlein Date: Tue, 30 Nov 2010 10:02:15 +0100 Subject: fix validation_type for example --- example.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example.rb') diff --git a/example.rb b/example.rb index 296ace9..3562dd0 100644 --- a/example.rb +++ b/example.rb @@ -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" -- cgit v1.2.3