Skip to content

Commit

Permalink
TXT optimize max sample test
Browse files Browse the repository at this point in the history
  • Loading branch information
PSSF23 committed Jun 22, 2023
1 parent a31e1de commit 0fc8ec4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sktree/tests/test_honest_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fc8ec4

Please sign in to comment.