Add const feature and className to fit models

This commit is contained in:
2023-08-23 23:15:39 +02:00
parent d82148079d
commit 86ffdfd6f3
17 changed files with 33 additions and 36 deletions

View File

@@ -47,11 +47,11 @@ namespace platform {
void ReportExcel::body()
{
auto header = vector<string>(
auto head = vector<string>(
{ "Dataset", "Samples", "Features", "Classes", "Nodes", "Edges", "States", "Score", "Score Std.", "Time",
"Time Std.", "Hyperparameters" });
int col = 1;
for (const auto& item : header) {
for (const auto& item : head) {
wks.cell(8, col++).value() = item;
}
int row = 9;

View File

@@ -100,11 +100,11 @@ namespace platform {
cout << Colors::YELLOW() << "Reporting " << files.at(index).getFilename() << endl;
auto data = files.at(index).load();
if (excelReport) {
ReportExcel report(data);
report.show();
ReportExcel reporter(data);
reporter.show();
} else {
ReportConsole report(data);
report.show();
ReportConsole reporter(data);
reporter.show();
}
}
void Results::menu()