8000 DOC Fix typo in PLSSVD method docstrings (#23995) · scikit-learn/scikit-learn@024603e · GitHub
[go: up one dir, main page]

Skip to content

Commit 024603e

Browse files
cehglemaitre
authored andcommitted
DOC Fix typo in PLSSVD method docstrings (#23995)
1 parent 6d6b585 commit 024603e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/cross_decomposition/_pls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ def transform(self, X, Y=None):
10381038
Returns
10391039
-------
10401040
x_scores : array-like or tuple of array-like
1041-
The transformed data `X_tranformed` if `Y is not None`,
1041+
The transformed data `X_transformed` if `Y is not None`,
10421042
`(X_transformed, Y_transformed)` otherwise.
10431043
"""
10441044
check_is_fitted(self)
@@ -1069,7 +1069,7 @@ def fit_transform(self, X, y=None):
10691069
Returns
10701070
-------
10711071
out : array-like or tuple of array-like
1072-
The transformed data `X_tranformed` if `Y is not None`,
1072+
The transformed data `X_transformed` if `Y is not None`,
10731073
`(X_transformed, Y_transformed)` otherwise.
10741074
"""
10751075
return self.fit(X, y).transform(X, y)

0 commit comments

Comments
 (0)
0