Add friedman hyperparameter

This commit is contained in:
2023-09-26 11:26:59 +02:00
parent f0d0abe891
commit cab8e14b2d
3 changed files with 23 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ using json = nlohmann::json;
namespace platform {
class BestResults {
public:
explicit BestResults(const string& path, const string& score, const string& model) : path(path), score(score), model(model) {}
explicit BestResults(const string& path, const string& score, const string& model, bool friedman) : path(path), score(score), model(model), friedman(friedman) {}
string build();
void reportSingle();
void reportAll();
@@ -23,6 +23,7 @@ namespace platform {
string path;
string score;
string model;
bool friedman;
};
}
#endif //BESTRESULTS_H