10000 DOC Uses float instead of real in cross_decomposition (#19156) · scikit-learn/scikit-learn@690e0a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 690e0a5

Browse files
thomasjpfanjeremiedbb
authored andcommitted
DOC Uses float instead of real in cross_decomposition (#19156)
1 parent 9f59c26 commit 690e0a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/cross_decomposition/_pls.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ class PLSRegression(_PLS):
499499
The maximum number of iterations of the power method when
500500
`algorithm='nipals'`. Ignored otherwise.
501501
502-
tol : real, default 1e-06
502+
tol : float, default=1e-06
503503
The tolerance used as convergence criteria in the power method: the
504504
algorithm stops whenever the squared norm of `u_i - u_{i-1}` is less
505505
than `tol`, where `u` corresponds to the left singular vector.
@@ -597,7 +597,7 @@ class PLSCanonical(_PLS):
597597
the maximum number of iterations of the power method when
598598
`algorithm='nipals'`. Ignored otherwise.
599599
600-
tol : real, default 1e-06
600+
tol : float, default=1e-06
601601
The tolerance used as convergence criteria in the power method: the
602602
algorithm stops whenever the squared norm of `u_i - u_{i-1}` is less
603603
than `tol`, where `u` corresponds to the left singular vector.
@@ -703,7 +703,7 @@ class CCA(_PLS):
703703
max_iter : int, default=500
704704
the maximum number of iterations of the power method.
705705
706-
tol : real, default 1e-06
706+
tol : float, default=1e-06
707707
The tolerance used as convergence criteria in the power method: the
708708
algorithm stops whenever the squared norm of `u_i - u_{i-1}` is less
709709
than `tol`, where `u` corresponds to the left singular vector.

0 commit comments

Comments
 (0)
0