Add compare to best results in manage

This commit is contained in:
2023-09-20 12:51:19 +02:00
parent 68f22a673d
commit 03533461c8
8 changed files with 73 additions and 27 deletions

View File

@@ -21,7 +21,7 @@ namespace platform {
};
class ReportBase {
public:
explicit ReportBase(json data_);
explicit ReportBase(json data_, bool compare);
virtual ~ReportBase() = default;
void show();
protected:
@@ -35,6 +35,10 @@ namespace platform {
map<string, int> summary;
double margin;
map<string, string> meaning;
private:
double bestResult(const string& dataset, const string& model);
bool compare;
json bestResults;
};
};
#endif