Skip to content

Commit ab1a7ef

Browse files
TimotheeMathieurth
authored andcommitted
STY Fix black format _fastfood.py (#43)
1 parent 9e62f1a commit ab1a7ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sklearn_extra/kernel_approximation/_fastfood.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,11 @@ def fit(self, X, y=None):
171171
d_orig = X.shape[1]
172172
rng = check_random_state(self.random_state)
173173

174-
self._d, self._n, self._times_to_stack_v = Fastfood._enforce_dimensionality_constraints(
174+
(
175+
self._d,
176+
self._n,
177+
self._times_to_stack_v,
178+
) = Fastfood._enforce_dimensionality_constraints(
175179
d_orig, self.n_components
176180
)
177181
self._number_of_features_to_pad_with_zeros = self._d - d_orig

0 commit comments

Comments
 (0)