Add Graphs to results
Add bin5..bin10 q & u discretizers algos Fix trouble in computing states Update mdlp to 2.0.0
This commit is contained in:
@@ -15,6 +15,7 @@ namespace platform {
|
||||
data["times_train"] = json::array();
|
||||
data["times_test"] = json::array();
|
||||
data["notes"] = json::array();
|
||||
data["graph"] = json::array();
|
||||
data["train_time"] = 0.0;
|
||||
data["train_time_std"] = 0.0;
|
||||
data["test_time"] = 0.0;
|
||||
@@ -27,6 +28,12 @@ namespace platform {
|
||||
data["notes"].insert(data["notes"].end(), notes_.begin(), notes_.end());
|
||||
return *this;
|
||||
}
|
||||
PartialResult& setGraph(const std::vector<std::string>& graph)
|
||||
{
|
||||
json graph_ = graph;
|
||||
data["graph"].insert(data["graph"].end(), graph_.begin(), graph_.end());
|
||||
return *this;
|
||||
}
|
||||
PartialResult& setConfusionMatrices(const json& confusion_matrices) { data["confusion_matrices"] = confusion_matrices; return *this; }
|
||||
PartialResult& setConfusionMatricesTrain(const json& confusion_matrices) { data["confusion_matrices_train"] = confusion_matrices; return *this; }
|
||||
PartialResult& setHyperparameters(const json& hyperparameters) { data["hyperparameters"] = hyperparameters; return *this; }
|
||||
|
Reference in New Issue
Block a user