Fix previous tests of BoostAODE

Due to the change of default values for hyperparameters in BoostAODE
This commit is contained in:
2024-04-09 00:13:45 +02:00
parent da2a969686
commit 1326891d6a
3 changed files with 24 additions and 16 deletions

View File

@@ -33,6 +33,11 @@ TEST_CASE("Show", "[Ensemble]")
{
auto clf = bayesnet::BoostAODE();
auto raw = RawDatasets("iris", true);
clf.setHyperparameters({
{"bisection", false},
{"maxTolerance", 1},
{"convergence", false},
});
clf.fit(raw.Xv, raw.yv, raw.featuresv, raw.classNamev, raw.statesv);
std::vector<std::string> expected = {
"class -> sepallength, sepalwidth, petallength, petalwidth, ",