add score name to best results excel file name
This commit is contained in:
@@ -32,7 +32,7 @@ namespace platform {
|
|||||||
}
|
}
|
||||||
BestResultsExcel::BestResultsExcel(const std::string& score, const std::vector<std::string>& datasets) : score(score), datasets(datasets)
|
BestResultsExcel::BestResultsExcel(const std::string& score, const std::vector<std::string>& datasets) : score(score), datasets(datasets)
|
||||||
{
|
{
|
||||||
file_name = Paths::bestResultsExcel();
|
file_name = Paths::bestResultsExcel(score);
|
||||||
workbook = workbook_new(getFileName().c_str());
|
workbook = workbook_new(getFileName().c_str());
|
||||||
setProperties("Best Results");
|
setProperties("Best Results");
|
||||||
int maxDatasetName = (*max_element(datasets.begin(), datasets.end(), [](const std::string& a, const std::string& b) { return a.size() < b.size(); })).size();
|
int maxDatasetName = (*max_element(datasets.begin(), datasets.end(), [](const std::string& a, const std::string& b) { return a.size() < b.size(); })).size();
|
||||||
|
@@ -44,9 +44,9 @@ namespace platform {
|
|||||||
{
|
{
|
||||||
return "best_results_" + score + "_" + model + ".json";
|
return "best_results_" + score + "_" + model + ".json";
|
||||||
}
|
}
|
||||||
static std::string bestResultsExcel()
|
static std::string bestResultsExcel(const std::string& score)
|
||||||
{
|
{
|
||||||
return "BestResults.excel";
|
return "BestResults_" + score + ".xlsx";
|
||||||
}
|
}
|
||||||
static std::string excelResults() { return "some_results.xlsx"; }
|
static std::string excelResults() { return "some_results.xlsx"; }
|
||||||
static std::string grid_input(const std::string& model)
|
static std::string grid_input(const std::string& model)
|
||||||
|
Reference in New Issue
Block a user