File tree 2 files changed +8
-5
lines changed
sklearn/cross_decomposition
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 20
20
"MultiTaskLassoCV" ,
21
21
"OrthogonalMatchingPursuit" ,
22
22
"OrthogonalMatchingPursuitCV" ,
23
- "PLSRegression" ,
24
23
"PassiveAggressiveClassifier" ,
25
24
"PassiveAggressiveRegressor" ,
26
25
"PatchExtractor" ,
Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ def _more_tags(self):
549
549
550
550
551
551
class PLSRegression (_PLS ):
552
- """PLS regression
552
+ """PLS regression.
553
553
554
554
PLSRegression is also known as PLS2 or PLS1, depending on the number of
555
555
targets.
@@ -577,9 +577,9 @@ class PLSRegression(_PLS):
577
577
than `tol`, where `u` corresponds to the left singular vector.
578
578
579
579
copy : bool, default=True
580
- Whether to copy `X` and `Y` in fit before applying centering, and
581
- potentially scaling. If False, these operations will be done inplace,
582
- modifying both arrays.
580
+ Whether to copy `X` and `Y` in :term:` fit` before applying centering,
581
+ and potentially scaling. If ` False` , these operations will be done
582
+ inplace, modifying both arrays.
583
583
584
584
Attributes
585
585
----------
@@ -626,6 +626,10 @@ class PLSRegression(_PLS):
626
626
627
627
.. versionadded:: 1.0
628
628
629
+ See Also
630
+ --------
631
+ PLSCanonical : Partial Least Squares transformer and regressor.
632
+
629
633
Examples
630
634
--------
631
635
>>> from sklearn.cross_decomposition import PLSRegression
You can’t perform that action at this time.
0 commit comments