Skip to content

Commit

Permalink
remove stress test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Dec 25, 2024
1 parent fcb70c2 commit 64b85e0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions shared/libebm/tests/boosting_unusual_inputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2174,12 +2174,12 @@ static double RandomizedTesting(const AccelerationFlags acceleration) {
return validationMetric;
}

TEST_CASE("stress test, boosting") {
const double expected = 26746562197367.172;

double validationMetricExact = RandomizedTesting(AccelerationFlags_NONE);
CHECK(validationMetricExact == expected);

double validationMetricSIMD = RandomizedTesting(AccelerationFlags_ALL);
CHECK_APPROX_TOLERANCE(validationMetricSIMD, expected, 1e-2);
}
//TEST_CASE("stress test, boosting") {
// const double expected = 26746562197367.172;
//
// double validationMetricExact = RandomizedTesting(AccelerationFlags_NONE);
// CHECK(validationMetricExact == expected);
//
// double validationMetricSIMD = RandomizedTesting(AccelerationFlags_ALL);
// CHECK_APPROX_TOLERANCE(validationMetricSIMD, expected, 1e-2);
//}

0 comments on commit 64b85e0

Please sign in to comment.