alphablock #32
Submodule lib/folding updated: 2ac43e32ac...9652853d69
2
lib/json
2
lib/json
Submodule lib/json updated: 378e091795...620034ecec
@@ -130,14 +130,21 @@ TEST_CASE("Oddities", "[BoostAODE]")
|
|||||||
{ { "select_features","IWSS" }, { "threshold", 0.51 } },
|
{ { "select_features","IWSS" }, { "threshold", 0.51 } },
|
||||||
{ { "select_features","FCBF" }, { "threshold", 1e-8 } },
|
{ { "select_features","FCBF" }, { "threshold", 1e-8 } },
|
||||||
{ { "select_features","FCBF" }, { "threshold", 1.01 } },
|
{ { "select_features","FCBF" }, { "threshold", 1.01 } },
|
||||||
{ { "alpha_block", true }, { "block_update", true } },
|
|
||||||
{ { "bisection", false }, { "block_update", true } },
|
|
||||||
};
|
};
|
||||||
for (const auto& hyper : bad_hyper_fit.items()) {
|
for (const auto& hyper : bad_hyper_fit.items()) {
|
||||||
INFO("BoostAODE hyper: " << hyper.value().dump());
|
INFO("BoostAODE hyper: " << hyper.value().dump());
|
||||||
clf.setHyperparameters(hyper.value());
|
clf.setHyperparameters(hyper.value());
|
||||||
REQUIRE_THROWS_AS(clf.fit(raw.Xv, raw.yv, raw.features, raw.className, raw.states, raw.smoothing), std::invalid_argument);
|
REQUIRE_THROWS_AS(clf.fit(raw.Xv, raw.yv, raw.features, raw.className, raw.states, raw.smoothing), std::invalid_argument);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto bad_hyper_fit2 = nlohmann::json{
|
||||||
|
{ { "alpha_block", true }, { "block_update", true } },
|
||||||
|
{ { "bisection", false }, { "block_update", true } },
|
||||||
|
};
|
||||||
|
for (const auto& hyper : bad_hyper_fit2.items()) {
|
||||||
|
INFO("BoostAODE hyper: " << hyper.value().dump());
|
||||||
|
REQUIRE_THROWS_AS(clf.setHyperparameters(hyper.value()), std::invalid_argument);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
TEST_CASE("Bisection Best", "[BoostAODE]")
|
TEST_CASE("Bisection Best", "[BoostAODE]")
|
||||||
{
|
{
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
std::map<std::string, std::string> modules = {
|
std::map<std::string, std::string> modules = {
|
||||||
{ "mdlp", "2.0.1" },
|
{ "mdlp", "2.0.1" },
|
||||||
{ "Folding", "1.1.0" },
|
{ "Folding", "1.1.1" },
|
||||||
{ "json", "3.11" },
|
{ "json", "3.11" },
|
||||||
{ "ArffFiles", "1.1.0" }
|
{ "ArffFiles", "1.1.0" }
|
||||||
};
|
};
|
||||||
|
Submodule tests/lib/catch2 updated: 506276c592...0321d2fce3
Reference in New Issue
Block a user