From 0fc8ec4f6a5ead85a839ab7a2974e59474245006 Mon Sep 17 00:00:00 2001 From: Haoyin Xu Date: Thu, 22 Jun 2023 09:50:24 -0400 Subject: [PATCH] TXT optimize max sample test --- sktree/tests/test_honest_forest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sktree/tests/test_honest_forest.py b/sktree/tests/test_honest_forest.py index bcf0f7440..c4f401d5a 100644 --- a/sktree/tests/test_honest_forest.py +++ b/sktree/tests/test_honest_forest.py @@ -108,6 +108,7 @@ def test_iris_multi(criterion, max_features, honest_prior, estimator): def test_max_samples(): max_samples_list = [8, 0.5, None] depths = [] + np.random.seed(0) X = np.random.normal(0, 1, (100, 2)) X[:50] *= -1 y = [0, 1] * 50