diff --git a/sklearn/cross_decomposition/_pls.py b/sklearn/cross_decomposition/_pls.py index 66adacb64b1f3..817d4edbd9e88 100644 --- a/sklearn/cross_decomposition/_pls.py +++ b/sklearn/cross_decomposition/_pls.py @@ -499,7 +499,7 @@ class PLSRegression(_PLS): The maximum number of iterations of the power method when `algorithm='nipals'`. Ignored otherwise. - tol : real, default 1e-06 + tol : float, default=1e-06 The tolerance used as convergence criteria in the power method: the algorithm stops whenever the squared norm of `u_i - u_{i-1}` is less than `tol`, where `u` corresponds to the left singular vector. @@ -597,7 +597,7 @@ class PLSCanonical(_PLS): the maximum number of iterations of the power method when `algorithm='nipals'`. Ignored otherwise. - tol : real, default 1e-06 + tol : float, default=1e-06 The tolerance used as convergence criteria in the power method: the algorithm stops whenever the squared norm of `u_i - u_{i-1}` is less than `tol`, where `u` corresponds to the left singular vector. @@ -703,7 +703,7 @@ class CCA(_PLS): max_iter : int, default=500 the maximum number of iterations of the power method. - tol : real, default 1e-06 + tol : float, default=1e-06 The tolerance used as convergence criteria in the power method: the algorithm stops whenever the squared norm of `u_i - u_{i-1}` is less than `tol`, where `u` corresponds to the left singular vector.