Skip to content

Commit

Permalink
increase exact test rounds
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jan 26, 2025
1 parent 2c0b04f commit 0de4366
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/interpret-core/tests/glassbox/ebm/test_ebm_exact.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ def test_identical_classification():
set_option("acceleration", 0)

total = 0.0
seed = 0
seed = 1000
for n_classes in range(Native.Task_Regression, 4):
if n_classes < 2 and n_classes != Native.Task_Regression:
continue

classes = None if n_classes == Native.Task_Regression else n_classes

for iteration in range(2):
for iteration in range(20):
X, y, names, types = make_synthetic(
seed=seed, classes=classes, output_type="float", n_samples=257
)
Expand Down
4 changes: 2 additions & 2 deletions shared/libebm/tests/boosting_unusual_inputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2257,9 +2257,9 @@ TEST_CASE("missing category nominal, boosting, regression") {
static double RandomizedTesting(const AccelerationFlags acceleration) {
const IntEbm cTrainSamples = 211; // have some non-SIMD residuals
const IntEbm cValidationSamples = 101; // have some non-SIMD residuals
const size_t cRounds = 200;
const size_t cRounds = 2000;

auto rng = MakeRng(0);
auto rng = MakeRng(10000);
const std::vector<FeatureTest> features = {
FeatureTest(10, false, false, false),
FeatureTest(10, false, false, true),
Expand Down

0 comments on commit 0de4366

Please sign in to comment.