From 620e882c44eb95a8fa20f0719ea637aa436c68f5 Mon Sep 17 00:00:00 2001 From: janezd Date: Sat, 12 Oct 2024 09:53:47 +0200 Subject: [PATCH] Adaboost: Change random seed in tests --- Orange/tests/test_ada_boost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Orange/tests/test_ada_boost.py b/Orange/tests/test_ada_boost.py index 19b9bce92a..5a016c5a3b 100644 --- a/Orange/tests/test_ada_boost.py +++ b/Orange/tests/test_ada_boost.py @@ -33,7 +33,7 @@ def test_adaboost(self): self.assertLess(ca, 0.99) def test_adaboost_estimator(self): - np.random.seed(0) + np.random.seed(4) stump_estimator = SklTreeLearner(max_depth=1) tree_estimator = SklTreeLearner() stump = SklAdaBoostClassificationLearner(