File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2020from ..utils .extmath import row_norms
2121from ..utils .extmath import _incremental_mean_and_var
2222from ..utils .fixes import combinations_with_replacement as combinations_w_r
23+ from ..utils .fixes import bincount
2324from ..utils .sparsefuncs_fast import (inplace_csr_row_normalize_l1 ,
2425 inplace_csr_row_normalize_l2 )
2526from ..utils .sparsefuncs import (inplace_column_scale ,
@@ -1179,7 +1180,7 @@ def powers_(self):
11791180 combinations = self ._combinations (self .n_input_features_ , self .degree ,
11801181 self .interaction_only ,
11811182 self .include_bias )
1182- return np .vstack (np . bincount (c , minlength = self .n_input_features_ )
1183+ return np .vstack (bincount (c , minlength = self .n_input_features_ )
11831184 for c in combinations )
11841185
11851186 def get_feature_names (self , input_features = None ):
You can’t perform that action at this time.
0 commit comments