BayesNet/bayesnet/ensembles/AODE.h

22 lines
756 B
C
Raw Permalink Normal View History

2024-04-11 16:02:49 +00:00
// ***************************************************************
// SPDX-FileCopyrightText: Copyright 2024 Ricardo Montañana Gómez
// SPDX-FileType: SOURCE
// SPDX-License-Identifier: MIT
// ***************************************************************
#ifndef AODE_H
#define AODE_H
2024-03-08 21:20:54 +00:00
#include "bayesnet/classifiers/SPODE.h"
#include "Ensemble.h"
namespace bayesnet {
class AODE : public Ensemble {
public:
AODE(bool predict_voting = false);
2023-07-29 15:27:43 +00:00
virtual ~AODE() {};
void setHyperparameters(const nlohmann::json& hyperparameters) override;
2023-11-08 17:45:35 +00:00
std::vector<std::string> graph(const std::string& title = "AODE") const override;
protected:
void buildModel(const torch::Tensor& weights) override;
};
}
#endif