Skip to content

Commit

Permalink
DOC Specify the meaning of y=None in fit_transform (scikit-learn#17366)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfaro96 authored May 27, 2020
1 parent ffd1873 commit 6c3e179
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sklearn/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,10 @@ def fit_transform(self, X, y=None, **fit_params):
----------
X : {array-like, sparse matrix, dataframe} of shape \
(n_samples, n_features)
Input samples.
y : ndarray of shape (n_samples,), default=None
Target values.
Target values (None for unsupervised transformations).
**fit_params : dict
Additional fit parameters.
Expand Down

0 comments on commit 6c3e179

Please sign in to comment.