Optimize BoostAODE -> XBAODE #33

Merged
rmontanana merged 27 commits from WA2DE into main 2025-03-16 17:58:10 +00:00
6 changed files with 362 additions and 5 deletions
Showing only changes of commit f658149977 - Show all commits

View File

@@ -33,7 +33,12 @@ namespace bayesnet {
}
std::string dump_cpt() const override
{
return "";
std::string output;
for (auto& model : models) {
output += model->dump_cpt();
output += std::string(80, '-') + "\n";
}
return output;
}
protected:
torch::Tensor predict_average_voting(torch::Tensor& X);