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