8000 DOC Fix documentation of default values in sklearn.utils._mocking.py … · scikit-learn/scikit-learn@a27add7 · GitHub
[go: up one dir, main page]

Skip to content

Commit a27add7

Browse files
haiatnalfaro96
andauthored
DOC Fix documentation of default values in sklearn.utils._mocking.py (#18351)
* DOC Fix documentation of default values * Update sklearn/utils/_mocking.py Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es> * Update sklearn/utils/_mocking.py Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es> * DOC Fix documentation of default values in sklearn.feature_extraction.text.py * refixing DOC _mocking.py linting * DOC refix delete unwanted commit Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
1 parent 5f0a89f commit a27add7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sklearn/utils/_mocking.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ def fit(self, X, y, **fit_params):
166166
Training vector, where n_samples is the number of samples and
167167
n_features is the number of features.
168168
169-
y : array-like of shape (n_samples, n_output) or (n_samples,), optional
169+
y : array-like of shape (n_samples, n_outputs) or (n_samples,), \
170+
default=None
170171
Target relative to X for classification or regression;
171172
None for unsupervised learning.
172173

0 commit comments

Comments
 (0)
0