Add discretization algo to reports
This commit is contained in:
@@ -23,8 +23,9 @@ namespace platform {
|
||||
+ " random seeds. " + data["date"].get<std::string>() + " " + data["time"].get<std::string>()
|
||||
);
|
||||
sheader << headerLine(data["title"].get<std::string>());
|
||||
std::string algorithm = data["discretized"].get<bool>() ? " (" + data["discretization_algorithm"].get<std::string>() + ")" : "";
|
||||
sheader << headerLine(
|
||||
"Random seeds: " + fromVector("seeds") + " Discretized: " + (data["discretized"].get<bool>() ? "True" : "False")
|
||||
"Random seeds: " + fromVector("seeds") + " Discretized: " + (data["discretized"].get<bool>() ? "True" : "False") + algorithm
|
||||
+ " Stratified: " + (data["stratified"].get<bool>() ? "True" : "False")
|
||||
);
|
||||
oss << "Execution took " << std::setprecision(2) << std::fixed << data["duration"].get<float>()
|
||||
|
@@ -65,7 +65,8 @@ namespace platform {
|
||||
worksheet_merge_range(worksheet, 3, 10, 3, 11, oss.str().c_str(), styles["headerSmall"]);
|
||||
oss.str("");
|
||||
oss.clear();
|
||||
oss << "Discretized: " << (data["discretized"].get<bool>() ? "True" : "False");
|
||||
std::string algorithm = data["discretized"].get<bool>() ? " (" + data["discretization_algorithm"].get<std::string>() + ")" : "";
|
||||
oss << "Discretized: " << (data["discretized"].get<bool>() ? "True" : "False") << algorithm;
|
||||
worksheet_write_string(worksheet, 3, 12, oss.str().c_str(), styles["headerSmall"]);
|
||||
}
|
||||
void ReportExcel::header_notes(int row)
|
||||
|
Reference in New Issue
Block a user