Skip to content

Commit

Permalink
fix random state in performance test
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksamsten committed Aug 15, 2024
1 parent 8c0ead1 commit 56b4cfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/wildboar/tree/test_shapelet_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,9 @@ def test_impurity_equality_tolerance():
@pytest.mark.parametrize(
"clf",
[
ShapeletTreeClassifier(strategy="random"),
ExtraShapeletTreeClassifier(),
ShapeletTreeClassifier(impurity_equality_tolerance=0.0),
ShapeletTreeClassifier(strategy="random", random_state=1),
ExtraShapeletTreeClassifier(random_state=1),
ShapeletTreeClassifier(impurity_equality_tolerance=0.0, random_state=1),
],
)
@pytest.mark.parametrize("metric", ["euclidean"])
Expand Down

0 comments on commit 56b4cfe

Please sign in to comment.