summaryrefslogtreecommitdiff
path: root/example.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-11-26 16:05:25 +0100
committermguetlein <martin.guetlein@gmail.com>2010-11-26 16:05:25 +0100
commit16a25a63ba7882901a778745d0a32baaafc22cad (patch)
tree9bf89ee176575aa49da36a4bc57e8c09a75fad4a /example.rb
parenta6d79dffc5f65300f06f3a33451ef26d0fb96f08 (diff)
huge commit, main changes: validation_type and .finished introduced, supporting subtasks, reporting slightly refactored
Diffstat (limited to 'example.rb')
-rw-r--r--example.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/example.rb b/example.rb
index eb997c2..6417ae7 100644
--- a/example.rb
+++ b/example.rb
@@ -83,8 +83,7 @@ class Example
log "crossvalidation"
cv = Validation::Crossvalidation.new({ :dataset_uri => data_uri, :algorithm_uri => @@alg, :num_folds => 5, :stratified => false })
- cv.create_cv_datasets( URI.decode(@@feature) )
- cv.perform_cv( @@alg_params )
+ cv.perform_cv( URI.decode(@@feature), @@alg_params )
log "create validation report"
rep = Reports::ReportService.new(File.join(@@config[:services]["opentox-validation"],"report"))