// *************************************************************** // SPDX-FileCopyrightText: Copyright 2024 Ricardo Montañana Gómez // SPDX-FileType: SOURCE // SPDX-License-Identifier: MIT // *************************************************************** #ifndef SPnDE_H #define SPnDE_H #include #include "Classifier.h" namespace bayesnet { class SPnDE : public Classifier { public: explicit SPnDE(std::vector parents); virtual ~SPnDE() = default; std::vector graph(const std::string& name = "SPnDE") const override; protected: void buildModel(const torch::Tensor& weights) override; private: std::vector parents; }; } #endif