8000 DOC: minor spellings fixes in pls.py · jwchennlp/scikit-learn@bbbe225 · GitHub
[go: up one dir, main page]

Skip to content

Commit bbbe225

Browse files
committed
DOC: minor spellings fixes in pls.py
1 parent 47cbfbf commit bbbe225

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scikits/learn/pls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ def _center_scale_xy(X, Y, scale=True):
9595
class _PLS(BaseEstimator):
9696
"""Partial Least Square (PLS)
9797
98-
We use the therminology defined by [Wegelin et al. 2000].
98+
We use the terminology defined by [Wegelin et al. 2000].
9999
This implementation uses the PLS Wold 2 blocks algorithm or NIPALS which is
100100
based on two nested loops:
101-
(i) The outer loop iterate over compoments.
101+
(i) The outer loop iterate over components.
102102
(ii) The inner loop estimates the loading vectors. This can be done
103103
with two algo. (a) the inner loop of the original NIPALS algo or (b) a
104104
SVD on residuals cross-covariance matrices.
105105
106106
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.
108108
A.k.a. PLS2, with multivariate response or PLS1 with univariate response.
109109
- PLS canonical, ie., PLS 2 blocks, mode A, with symetric deflation.
110110
- CCA, ie., PLS 2 blocks, mode B, with symetric deflation.
@@ -167,7 +167,7 @@ class _PLS(BaseEstimator):
167167
Y block to latents rotations.
168168
169169
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
171171
172172
References
173173
----------

0 commit comments

Comments
 (0)
0