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

Skip to content

Commit f21efa9

Browse files
author
Fabian Pedregosa
committed
FIX: change doctest to avoid results with NaN
1 parent 5900508 commit f21efa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scikits/learn/pls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ class CCA(_PLS):
668668
Examples
669669
--------
670670
>>> from scikits.learn.pls import PLSCanonical, PLSRegression, CCA
671-
>>> X = [[0., 0., 1.], [1.,0.,0.], [2.,2.,2.], [2.,5.,4.]]
671+
>>> 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()
674674
>>> cca.fit(X, Y, n_components=2)

0 commit comments

Comments
 (0)