From 324e7f2dc7c8417fd5af0a084f06ecc92de41d48 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Mon, 2 Apr 2012 16:11:28 +0200 Subject: new stratified type super added to crossvalidation and traning-test-split validation, add some more metadata to crossvaldiation, add validation_uri to predictions in crossvaldiation-report --- report/report_factory.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'report/report_factory.rb') diff --git a/report/report_factory.rb b/report/report_factory.rb index f51b999..f73ffd9 100755 --- a/report/report_factory.rb +++ b/report/report_factory.rb @@ -124,7 +124,7 @@ module Reports::ReportFactory report.end_section report.add_result(validation_set, Validation::ALL_PROPS, "All Results", "All Results") - report.add_predictions( validation_set ) + report.add_predictions( validation_set, false ) task.progress(100) if task report end @@ -200,7 +200,7 @@ module Reports::ReportFactory report.add_result(validation_set, Validation::ALL_PROPS, "All Results", "All Results") if (cv_set.unique_value(:num_folds).to_i < cv_set.unique_value(:num_instances).to_i) - report.add_predictions( validation_set ) #, [:crossvalidation_fold] ) + report.add_predictions( validation_set, true ) task.progress(100) if task report end -- cgit v1.2.3