@@ -95,16 +95,16 @@ def _center_scale_xy(X, Y, scale=True):
95
95
class _PLS (BaseEstimator ):
96
96
"""Partial Least Square (PLS)
97
97
98
- We use the therminology defined by [Wegelin et al. 2000].
98
+ We use the terminology defined by [Wegelin et al. 2000].
99
99
This implementation uses the PLS Wold 2 blocks algorithm or NIPALS which is
100
100
based on two nested loops:
101
- (i) The outer loop iterate over compoments .
101
+ (i) The outer loop iterate over components .
102
102
(ii) The inner loop estimates the loading vectors. This can be done
103
103
with two algo. (a) the inner loop of the original NIPALS algo or (b) a
104
104
SVD on residuals cross-covariance matrices.
105
105
106
106
This implementation provides:
107
- - PLS regression, ie., PLS 2 blocks, mode A, with asymetric deflation.
107
+ - PLS regression, ie., PLS 2 blocks, mode A, with asymmetric deflation.
108
108
A.k.a. PLS2, with multivariate response or PLS1 with univariate response.
109
109
- PLS canonical, ie., PLS 2 blocks, mode A, with symetric deflation.
110
110
- CCA, ie., PLS 2 blocks, mode B, with symetric deflation.
@@ -167,7 +167,7 @@ class _PLS(BaseEstimator):
167
167
Y block to latents rotations.
168
168
169
169
coefs: array, [p, q]
170
- The coeficients of the linear model: Y = X coefs + Err
170
+ The coefficients of the linear model: Y = X coefs + Err
171
171
172
172
References
173
173
----------
0 commit comments