predict_single #22

Merged
rmontanana merged 11 commits from predict_single into main 2024-03-06 16:16:19 +00:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit f10d0daf2e - Show all commits

View File

@ -36,6 +36,13 @@ option(CODE_COVERAGE "Collect coverage from test library" OFF)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
include(AddGitSubmodule)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
MESSAGE("Debug mode")
set(ENABLE_TESTING ON)
set(CODE_COVERAGE ON)
endif (CMAKE_BUILD_TYPE STREQUAL "Debug")
if (CODE_COVERAGE)
enable_testing()
include(CodeCoverage)

View File

@ -250,7 +250,7 @@ TEST_CASE("BoostAODE predict_single", "[BayesNet]")
auto raw = RawDatasets("glass", true);
std::map<bool, double> scores{
{true, 0.84579f }, { false, 0.81308f }
{true, 0.84579f }, { false, 0.80841f }
};
for (const bool kind : { true, false}) {
auto clf = bayesnet::BoostAODE();