Skip to content

Commit fcc6988

Browse files
author
Fabian Pedregosa
committed
FIX: pls docstring.
1 parent 9ea3e10 commit fcc6988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scikits/learn/pls.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,8 @@ class CCA(_PLS):
671671
>>> X = [[0., 0., 1.], [1.,0.,0.], [2.,2.,2.], [3.,5.,4.]]
672672
>>> Y = [[0.1, -0.2], [0.9, 1.1], [6.2, 5.9], [11.9, 12.3]]
673673
>>> cca = CCA()
674-
>>> cca.fit(X, Y, n_components=2)
675-
CCA(scale=True, algorithm='nipals', max_iter=500, n_components=2, tol=1e-06,
674+
>>> cca.fit(X, Y, n_components=1)
675+
CCA(scale=True, algorithm='nipals', max_iter=500, n_components=1, tol=1e-06,
676676
copy=True)
677677
>>> X_c, Y_c = cca.transform(X, Y)
678678

0 commit comments

Comments
 (0)