Skip to content

Commit

Permalink
maxDeltaStep 0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Dec 23, 2024
1 parent a2d8b11 commit 8372b53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shared/libebm/tests/boosting_unusual_inputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,7 @@ TEST_CASE("stress test, boosting") {
//const double minHessian = 0 == TestRand(rng, 5) ? 0.015625 : 0.0;
//const double regAlpha = 0 == TestRand(rng, 5) ? 0.015625 : 0.0;
//const double regLambda = 0 == TestRand(rng, 5) ? 0.015625 : 0.0;
const double maxDeltaStep = 0 == TestRand(rng, 5) ? 1.0 : 0.0;
//const double maxDeltaStep = 0 == TestRand(rng, 5) ? 1.0 : 0.0;
const double categoricalSmoothing = 10.0;
const IntEbm maxCategoricalThreshold = 1 + TestRand(rng, cRealBins + 1);
const double categoricalInclusionPercent = 0 == TestRand(rng, 2) ? 0.75 : 1.0;
Expand All @@ -2151,7 +2151,7 @@ TEST_CASE("stress test, boosting") {
0.0,
0.0,
0.0,
maxDeltaStep,
0.0,
categoricalSmoothing,
maxCategoricalThreshold,
categoricalInclusionPercent,
Expand All @@ -2165,5 +2165,5 @@ TEST_CASE("stress test, boosting") {
}

printf("\n%.17f\n", validationMetric);
CHECK(validationMetric == 11869.85323215506650740);
CHECK(validationMetric == 12172.76284000242594630);
}

0 comments on commit 8372b53

Please sign in to comment.