Skip to content

Commit

Permalink
Adaboost: Change random seed in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed Oct 12, 2024
1 parent 98b35f4 commit 620e882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/tests/test_ada_boost.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 620e882

Please sign in to comment.