8000 DOC Ensures that PLSCanonical passes numpydoc validation by Pinky-Chaudhary · Pull Request #21175 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Ensures that PLSCanonical passes numpydoc validation #21175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion maint_tools/test_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"MultiTaskLassoCV",
"OrthogonalMatchingPursuit",
"OrthogonalMatchingPursuitCV",
"PLSCanonical",
"PLSRegression",
"PLSSVD",
"PassiveAggressiveClassifier",
Expand Down
12 changes: 6 additions & 6 deletions sklearn/cross_decomposition/_pls.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ class PLSCanonical(_PLS):
will compute the whole SVD.

max_iter : int, default=500
the maximum number of iterations of the power method when
The maximum number of iterations of the power method when
`algorithm='nipals'`. Ignored otherwise.

tol : float, default=1e-06
Expand Down Expand Up @@ -748,6 +748,11 @@ class PLSCanonical(_PLS):

.. versionadded:: 1.0

See Also
--------
CCA : Canonical Correlation Analysis.
PLSSVD : Partial Least Square SVD.

Examples
--------
>>> from sklearn.cross_decomposition import PLSCanonical
Expand All @@ -757,11 +762,6 @@ class PLSCanonical(_PLS):
>>> plsca.fit(X, Y)
PLSCanonical()
>>> X_c, Y_c = plsca.transform(X, Y)

See Also
--------
CCA
PLSSVD
"""

# This implementation provides the same results that the "plspm" package
Expand Down
0