6.0 KiB
6.0 KiB
<html lang="en">
<head>
</head>
</html>
LCOV - code coverage report | |||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
![]() |
Line data Source code 1 : // *************************************************************** 2 : // SPDX-FileCopyrightText: Copyright 2024 Ricardo Montañana Gómez 3 : // SPDX-FileType: SOURCE 4 : // SPDX-License-Identifier: MIT 5 : // *************************************************************** 6 : 7 : #ifndef SPnDE_H 8 : #define SPnDE_H 9 : #include <vector> 10 : #include "Classifier.h" 11 : 12 : namespace bayesnet { 13 : class SPnDE : public Classifier { 14 : public: 15 : explicit SPnDE(std::vector<int> parents); 16 912 : virtual ~SPnDE() = default; 17 : std::vector<std::string> graph(const std::string& name = "SPnDE") const override; 18 : protected: 19 : void buildModel(const torch::Tensor& weights) override; 20 : private: 21 : std::vector<int> parents; 22 : 23 : 24 : }; 25 : } 26 : #endif |
![]() |
Generated by: LCOV version 2.0-1 |
</html>