From 2d7999d5f2ad8cce2e15d7d621ad4b61eea68e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Fri, 18 Aug 2023 13:43:13 +0200 Subject: [PATCH] Add manage to release targets --- Makefile | 2 +- src/BayesNet/BoostAODE.cc | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 9806dc3..a0ce791 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ release: ## Build a Release version of the project @if [ -d ./build ]; then rm -rf ./build; fi @mkdir build; cmake -S . -B build -D CMAKE_BUILD_TYPE=Release; \ - cmake --build build -t main -t BayesNetSample -j 32; + cmake --build build -t main -t BayesNetSample -t manage -j 32; @echo ">>> Done"; test: ## Run tests diff --git a/src/BayesNet/BoostAODE.cc b/src/BayesNet/BoostAODE.cc index b6a535d..a4379b4 100644 --- a/src/BayesNet/BoostAODE.cc +++ b/src/BayesNet/BoostAODE.cc @@ -5,11 +5,7 @@ namespace bayesnet { BoostAODE::BoostAODE() : Ensemble() {} void BoostAODE::buildModel(const torch::Tensor& weights) { - // models.clear(); - // for (int i = 0; i < features.size(); ++i) { - // models.push_back(std::make_unique(i)); - // } - // n_models = models.size(); + // Models shall be built in trainModel } void BoostAODE::trainModel(const torch::Tensor& weights) {