Files
BayesNet/html/bayesnet/ensembles/AODE.h.gcov.html
2024-04-30 00:52:09 +02:00

5.4 KiB

<html lang="en"> <head> </head>
LCOV - code coverage report
Current view: top level - bayesnet/ensembles - AODE.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 1 1
Test Date: 2024-04-29 20:48:03 Functions: 100.0 % 2 2

            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 AODE_H
       8              : #define AODE_H
       9              : #include "bayesnet/classifiers/SPODE.h"
      10              : #include "Ensemble.h"
      11              : namespace bayesnet {
      12              :     class AODE : public Ensemble {
      13              :     public:
      14              :         AODE(bool predict_voting = false);
      15            7 :         virtual ~AODE() {};
      16              :         void setHyperparameters(const nlohmann::json& hyperparameters) override;
      17              :         std::vector<std::string> graph(const std::string& title = "AODE") const override;
      18              :     protected:
      19              :         void buildModel(const torch::Tensor& weights) override;
      20              :     };
      21              : }
      22              : #endif
        

Generated by: LCOV version 2.0-1

</html>