Skip to content

Commit 8068897

Browse files
committed
Updates for scikit-learn 1.4
Signed-off-by: Beat Buesser <[email protected]>
1 parent 0677e51 commit 8068897

File tree

48 files changed

+5
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+5
-3
lines changed

tests/utils.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,9 +1748,11 @@ def get_tabular_classifier_scikit_list(clipped=False, model_list_names=None):
17481748
)
17491749

17501750
sklearn_version = list(map(int, sklearn.__version__.split(".")))
1751-
sklearn_ge_1_3_0 = sklearn_version[0] == 1 and sklearn_version[1] >= 3
1752-
if sklearn_ge_1_3_0:
1753-
suffix = "-ge-1.3.0"
1751+
sklearn_ge_1_3_0 = sklearn_version[0] == 1 and sklearn_version[1] == 3
1752+
if sklearn_version[0] == 1 and sklearn_version[1] == 3:
1753+
suffix = "-eq-1.3.0"
1754+
elif sklearn_version[0] == 1 and sklearn_version[1] == 4:
1755+
suffix = "-eq-1.4.0"
17541756
else:
17551757
suffix = ""
17561758

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)