8000 [MRG + 1] Correct typo in cross decomposition example (Fixes #8307) (… · scikit-learn/scikit-learn@b4a12b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit b4a12b1

Browse files
ja9harperraghavrv
authored andcommitted
[MRG + 1] Correct typo in cross decomposition example (Fixes #8307) (#8578)
* changed plsca to cca * corrected variable plsca in line 56-57
1 parent d0ce40e commit b4a12b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/cross_decomposition/plot_compare_cross_decomposition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@
144144

145145
cca = CCA(n_components=2)
146146
cca.fit(X_train, Y_train)
147-
X_train_r, Y_train_r = plsca.transform(X_train, Y_train)
148-
X_test_r, Y_test_r = plsca.transform(X_test, Y_test)
147+
X_train_r, Y_train_r = cca.transform(X_train, Y_train)
148+
X_test_r, Y_test_r = cca.transform(X_test, Y_test)

0 commit comments

Comments
 (0)
0