mirror of
https://github.com/Doctorado-ML/bayesclass.git
synced 2025-08-18 09:05:55 +00:00
16 lines
349 B
C++
16 lines
349 B
C++
#include "AODE.h"
|
|
|
|
namespace bayesnet {
|
|
AODE::AODE() : Ensemble() {}
|
|
void AODE::train()
|
|
{
|
|
models.clear();
|
|
for (int i = 0; i < features.size(); ++i) {
|
|
models.push_back(std::make_unique<SPODE>(i));
|
|
}
|
|
}
|
|
vector<string> AODE::graph(string title)
|
|
{
|
|
return Ensemble::graph(title);
|
|
}
|
|
} |