8000 Update kernel_pca.py · scikit-learn/scikit-learn@4543c8f · GitHub
[go: up one dir, main page]

Skip to content

Commit 4543c8f

Browse files
committed
Update kernel_pca.py
pep-8
1 parent 2c44456 commit 4543c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/decomposition/kernel_pca.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _fit_transform(self, K):
162162
elif eigen_solver == 'arpack':
163163
random_state = check_random_state(self.random_state)
164164
# initialize with [-1,1] as in ARPACK
165-
v0 = random_state.uniform(-1,1, K.shape[0])
165+
v0 = random_state.uniform(-1, 1, K.shape[0])
166166
self.lambdas_, self.alphas_ = eigsh(K, n_components,
167167
which="LA",
168168
tol=self.tol,

0 commit comments

Comments
 (0)
0