Move ResultsDatasetConsole to results folder

This commit is contained in:
2024-05-18 18:41:17 +02:00
parent 25bd7a42c6
commit b9e0c92334
9 changed files with 23 additions and 13 deletions

View File

@@ -3,7 +3,6 @@
#include "best/BestScore.h"
#include "ReportExcel.h"
namespace platform {
ReportExcel::ReportExcel(json data_, bool compare, lxw_workbook* workbook, lxw_worksheet* worksheet) : ReportBase(data_, compare), ExcelFile(workbook, worksheet)
{
createFile();
@@ -194,6 +193,18 @@ namespace platform {
writeDouble(row, ++col, item, style);
}
}
// Classificacion report
if (lastResult.find("confusion_matrices") != lastResult.end()) {
// auto score = platform2::Scores::create_aggregate(lastResult, "confusion_matrices");
// row++;
// writeString(row, 1, "Classification Report", "bodyHeader");
// row++;
// auto output = platform2::Scores::classification_report("", "test");
// for (const auto& item : output) {
// writeString(row, 1, item, "text");
// row++;
// }
}
// Set with of columns to show those totals completely
worksheet_set_column(worksheet, 1, 1, 12, NULL);
for (int i = 2; i < 7; ++i) {