From 43ceefd2c906dfcb79b4f31272eaece7adc7fc22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana=20G=C3=B3mez?= Date: Tue, 10 Dec 2024 13:35:23 +0100 Subject: [PATCH] Fix comment in AODELd --- bayesnet/ensembles/AODELd.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bayesnet/ensembles/AODELd.cc b/bayesnet/ensembles/AODELd.cc index 1de8218..07a9295 100644 --- a/bayesnet/ensembles/AODELd.cc +++ b/bayesnet/ensembles/AODELd.cc @@ -20,7 +20,8 @@ namespace bayesnet { // Fills std::vectors Xv & yv with the data from tensors X_ (discretized) & y states = fit_local_discretization(y); // We have discretized the input data - // 1st we need to fit the model to build the normal TAN structure, TAN::fit initializes the base Bayesian network + // 1st we need to fit the model to build the normal AODE structure, Ensemble::fit + // calls buildModel to initialize the base models Ensemble::fit(dataset, features, className, states, smoothing); return *this;