Complete Excel output for bestResults with Friedman test

This commit is contained in:
2023-09-28 18:52:37 +02:00
parent cfcf3c16df
commit 9d3d9cc6c6
6 changed files with 139 additions and 33 deletions

View File

@@ -283,6 +283,7 @@ namespace platform {
}
void BestResults::reportAll(bool excel)
{
double significance = 0.05;
auto models = getModels();
// Build the table of results
json table = buildTableResults(models);
@@ -295,13 +296,12 @@ namespace platform {
printTableResults(models, table);
// Compute the Friedman test
if (friedman) {
double significance = 0.05;
Statistics stats(models, datasets, table, significance);
auto result = stats.friedmanTest();
stats.postHocHolmTest(result);
}
if (excel) {
BestResultsExcel excel(score, models, datasets, table, friedman);
BestResultsExcel excel(score, models, datasets, table, friedman, significance);
excel.build();
}
}