File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -2140,9 +2140,9 @@ TEST_CASE("stress test, boosting") {
21402140 // we allow 1 cut more than the number of bins to test excessive leaves.
21412141 const IntEbm cLeaves = 1 + TestRand (rng, cRealBins + 1 );
21422142 const std::vector<IntEbm> leaves (cDimensions, cLeaves);
2143- const MonotoneDirection direction =
2144- 0 == TestRand (rng, 5 ) ? static_cast <MonotoneDirection>(TestRand (rng, 2 ) * 2 - 1 ) : 0 ;
2145- const std::vector<MonotoneDirection> monotonicity (cDimensions, direction);
2143+ // const MonotoneDirection direction =
2144+ // 0 == TestRand(rng, 5) ? static_cast<MonotoneDirection>(TestRand(rng, 2) * 2 - 1) : 0;
2145+ // const std::vector<MonotoneDirection> monotonicity(cDimensions, direction);
21462146
21472147 validationMetricIteration = test.Boost (iTerm,
21482148 boostFlags,
@@ -2155,8 +2155,7 @@ TEST_CASE("stress test, boosting") {
21552155 categoricalSmoothing,
21562156 6 ,
21572157 0.75 ,
2158- leaves,
2159- monotonicity)
2158+ leaves)
21602159 .validationMetric ;
21612160 }
21622161 }
@@ -2165,5 +2164,5 @@ TEST_CASE("stress test, boosting") {
21652164 }
21662165
21672166 printf (" \n %.17f\n " , validationMetric);
2168- CHECK (validationMetric == 12195.17698180636580219 );
2167+ CHECK (validationMetric == 12479.17282117725881108 );
21692168}
You can’t perform that action at this time.
0 commit comments