8000 deprecate pos args · SkuaD01/scikit-learn@a8d1a17 · GitHub
[go: up one dir, main page]

Skip to content

Commit a8d1a17

Browse files
committed
deprecate pos args
1 parent 51f6e19 commit a8d1a17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sklearn/preprocessing/_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,6 +1637,7 @@ def __init__(self, degree=2, *, interaction_only=False, include_bias=True,
16371637
self.order = order
16381638

16391639
@staticmethod
1640+
@_deprecate_positional_args
16401641
def _combinations(n_features, degree, interaction_only, include_bias):
16411642
comb = (combinations if interaction_only else combinations_w_r)
16421643
start = int(not include_bias)

0 commit comments

Comments
 (0)
0