Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eea2083

Browse files
committed
FIX: typo in test_singular_values()
1 parent 6890d92 commit eea2083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/decomposition/tests/test_truncated_svd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def test_singular_values():
243243
random_state=rng)
244244
X_apca = apca.fit_transform(X)
245245
X_rpca = rpca.fit_transform(X)
246-
X_lpca = rpca.fit_transform(X)
246+
X_lpca = lpca.fit_transform(X)
247247

248248
X_apca /= np.sqrt(np.sum(X_apca**2.0, axis=0))
249249
X_rpca /= np.sqrt(np.sum(X_rpca**2.0, axis=0))

0 commit comments

Comments
 (0)