diff options
author | mguetlein <martin.guetlein@gmail.com> | 2012-04-02 16:11:28 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2012-04-02 16:11:28 +0200 |
commit | 324e7f2dc7c8417fd5af0a084f06ecc92de41d48 (patch) | |
tree | 2a1e60ac26b1764450441eb0431ca694171e012b /report/report_factory.rb | |
parent | 8a199a09a6d9ac8b0349af0d7c5b5320bdcec9b5 (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-x | report/report_factory.rb | 4 |
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 |