summaryrefslogtreecommitdiff
path: root/example.rb
diff options
context:
space:
mode:
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"))