From a9ba21560dc11d01ac44cce966894c9c744ea2b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Tue, 1 Aug 2023 10:55:53 +0200 Subject: [PATCH] Add environment platform to experiment result --- src/Platform/main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Platform/main.cc b/src/Platform/main.cc index 55c0cfe..9899ded 100644 --- a/src/Platform/main.cc +++ b/src/Platform/main.cc @@ -103,9 +103,10 @@ int main(int argc, char** argv) /* * Begin Processing */ + auto env = platform::DotEnv(); auto experiment = platform::Experiment(); experiment.setTitle(title).setLanguage("cpp").setLanguageVersion("1.0.0"); - experiment.setDiscretized(discretize_dataset).setModel(model_name).setPlatform("BayesNet"); + experiment.setDiscretized(discretize_dataset).setModel(model_name).setPlatform(env.get("platform")); experiment.setStratified(stratified).setNFolds(n_folds).setScoreName("accuracy"); for (auto seed : seeds) { experiment.addRandomSeed(seed);