BayesNet 1.0.7.
Bayesian Network and basic classifiers Library.
Loading...
Searching...
No Matches
BoostAODE.h
1// ***************************************************************
2// SPDX-FileCopyrightText: Copyright 2024 Ricardo Montañana Gómez
3// SPDX-FileType: SOURCE
4// SPDX-License-Identifier: MIT
5// ***************************************************************
6
7#ifndef BOOSTAODE_H
8#define BOOSTAODE_H
9#include <string>
10#include <vector>
11#include "Boost.h"
12
13namespace bayesnet {
14 class BoostAODE : public Boost {
15 public:
16 explicit BoostAODE(bool predict_voting = false);
17 virtual ~BoostAODE() = default;
18 std::vector<std::string> graph(const std::string& title = "BoostAODE") const override;
19 protected:
20 void trainModel(const torch::Tensor& weights, const Smoothing_t smoothing) override;
21 private:
22 std::vector<int> initializeModels(const Smoothing_t smoothing);
23 };
24}
25#endif