Skip to content

Commit

Permalink
Drop deprecated multi_class argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sebp committed Feb 23, 2025
1 parent 0dacad8 commit 9c59c9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ filterwarnings = [
"ignore:np\\.find_common_type is deprecated. Please use `np\\.result_type` or `np\\.promote_types`:DeprecationWarning",
# deprecated since NumPy 2.0
"ignore:`trapz` is deprecated\\. Use `trapezoid` instead.*:DeprecationWarning",
# deprecated since scikit-learn 1.5
"ignore:'multi_class' was deprecated in version 1\\.5 and will be removed in 1\\.7.*:FutureWarning",
]

[tool.coverage.run]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_stacking.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _make_estimator():
y = data["target"]

meta = Stacking(
LogisticRegression(solver="lbfgs", multi_class="multinomial"),
LogisticRegression(solver="lbfgs"),
[
("tree", DecisionTreeClassifier(max_depth=1, random_state=0)),
("svm", SVC(probability=True, gamma="auto", random_state=0)),
Expand Down

0 comments on commit 9c59c9e

Please sign in to comment.