// *************************************************************** // SPDX-FileCopyrightText: Copyright 2024 Ricardo Montañana Gómez // SPDX-FileType: SOURCE // SPDX-License-Identifier: MIT // *************************************************************** #ifndef BOOSTA2DE_H #define BOOSTA2DE_H #include #include #include "bayesnet/classifiers/SPnDE.h" #include "Boost.h" namespace bayesnet { class BoostA2DE : public Boost { public: explicit BoostA2DE(bool predict_voting = false); virtual ~BoostA2DE() = default; std::vector graph(const std::string& title = "BoostA2DE") const override; protected: void trainModel(const torch::Tensor& weights, const Smoothing_t smoothing) override; private: std::vector initializeModels(const Smoothing_t smoothing); }; } #endif