Update boost version requirement for Linux

This commit is contained in:
Ricardo Montañana Gómez 2023-09-26 14:12:53 +02:00
parent cab8e14b2d
commit ce66483b65
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ option(CODE_COVERAGE "Collect coverage from test library" OFF)
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
find_package(Boost 1.81.0 REQUIRED)
find_package(Boost 1.78.0 REQUIRED)
if(Boost_FOUND)
message("Boost_INCLUDE_DIRS=${Boost_INCLUDE_DIRS}")
include_directories(${Boost_INCLUDE_DIRS})

View File

@ -239,7 +239,7 @@ namespace platform {
}
cout << Colors::BLUE() << endl;
cout << "*************************************************************************************" << endl;
cout << "Friedman test: H0: 'There is no significant differences between all the classifiers.'" << endl;
cout << Colors::GREEN() << "Friedman test: H0: 'There is no significant differences between all the classifiers.'" << Colors::BLUE() << endl;
for (const auto& rank : ranks) {
sum += rank.second;
}
@ -255,7 +255,7 @@ namespace platform {
long double p_value = (long double)1.0 - cdf(chiSquared, friedmanQ);
double criticalValue = quantile(chiSquared, 1 - significance);
std::cout << "Critical Chi-Square Value for df=" << fixed << (int)degreesOfFreedom
<< " and alpha=" << significance << ": " << criticalValue << std::endl;
<< " and alpha=" << setprecision(2) << fixed << significance << ": " << setprecision(7) << scientific << criticalValue << std::endl;
cout << "p-value: " << scientific << p_value << endl;
if (friedmanQ > criticalValue) {
cout << Colors::MAGENTA() << "The null hypothesis H0 is rejected." << endl;