8000 Merge branch 'd01-18630-polynomial' of https://github.com/SkuaD01/sci… · SkuaD01/scikit-learn@2bbb7ec · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 2bbb7ec

Browse files
committed
Merge branch 'd01-18630-polynomial' of https://github.com/SkuaD01/scikit-learn into d01-18630-polynomial
2 parents a7f2e7a + f29ad56 commit 2bbb7ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/preprocessing/_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,9 +1865,9 @@ def transform(self, X):
18651865

18661866
new_index.append(current_col)
18671867
index = new_index
1868-
# omit unwanted dynamic programming columns that were used for optimized calculation
1869-
if self.min_degree >= 2:
1870-
XP = XP[:, XP_width-self.n_output_features_:]
1868+
# omit unwanted dynamic programming columns that were used for optimized calculation
1869+
if self.min_degree >= 2:
1870+
XP = XP[:, XP_width-self.n_output_features_:]
18711871
return XP
18721872

18731873

0 commit comments

Comments
 (0)
0