Fix dataset name order in grid experiment

This commit is contained in:
2025-01-17 16:58:39 +01:00
parent d0e65348e0
commit eb430a84c4
3 changed files with 12 additions and 10 deletions

View File

@@ -224,7 +224,7 @@ namespace platform {
std::string ReportConsole::buildClassificationReport(json& result, std::string color)
{
std::stringstream oss;
if (result.find("confusion_matrices") == result.end())
if (result.find("confusion_matrices") == result.end() || result["confusion_matrices"].size() == 0)
return "";
bool second_header = false;
int lines_header = 0;