BayesNet
1.0.7.
Bayesian Network and basic classifiers Library.
Loading...
Searching...
No Matches
BoostA2DE.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 BOOSTA2DE_H
8
#define BOOSTA2DE_H
9
#include <string>
10
#include <vector>
11
#include "bayesnet/classifiers/SPnDE.h"
12
#include "Boost.h"
13
namespace
bayesnet {
14
class
BoostA2DE
:
public
Boost
{
15
public
:
16
explicit
BoostA2DE
(
bool
predict_voting =
false
);
17
virtual
~BoostA2DE
() =
default
;
18
std::vector<std::string> graph(
const
std::string& title =
"BoostA2DE"
)
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
bayesnet::BoostA2DE
Definition
BoostA2DE.h:14
bayesnet::Boost
Definition
Boost.h:27
bayesnet
ensembles
BoostA2DE.h
Generated by
1.12.0