summaryrefslogtreecommitdiff
path: root/report/report_factory.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2012-04-02 16:11:28 +0200
committermguetlein <martin.guetlein@gmail.com>2012-04-02 16:11:28 +0200
commit324e7f2dc7c8417fd5af0a084f06ecc92de41d48 (patch)
tree2a1e60ac26b1764450441eb0431ca694171e012b /report/report_factory.rb
parent8a199a09a6d9ac8b0349af0d7c5b5320bdcec9b5 (diff)
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
Diffstat (limited to 'report/report_factory.rb')
-rwxr-xr-xreport/report_factory.rb4
1 files changed, 2 insertions, 2 deletions
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