10000 MAINT solve long line reported by flake8 (#24065) · scikit-learn/scikit-learn@d1de673 · GitHub
[go: up one dir, main page]

Skip to content

Commit d1de673

Browse files
committed
MAINT solve long line reported by flake8 (#24065)
1 parent c08b2a3 commit d1de673

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sklearn/datasets/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def load_gzip_compressed_csv_data(
346346
encoding="utf-8",
347347
**kwargs,
348348
):
349-
"""Loads gzip-compressed `data_file_name` from `data_module` with `importlib.resources`.
349+
"""Loads gzip-compressed with `importlib.resources`.
350350
351351
1) Open resource file with `importlib.resources.open_binary`
352352
2) Decompress file obj with `gzip.open`

sklearn/feature_selection/_rfe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def _fit(self, X, y, step_score=None, **fit_params):
333333

334334
@available_if(_estimator_has("predict"))
335335
def predict(self, X):
336-
"""Reduce X to the selected features and then predict using the underlying estimator.
336+
"""Reduce X to the selected features and predict using the estimator.
337337
338338
Parameters
339339
----------
@@ -350,7 +350,7 @@ def predict(self, X):
350350

351351
@available_if(_estimator_has("score"))
352352
def score(self, X, y, **fit_params):
353-
"""Reduce X to the selected features and return the score of the underlying estimator.
353+
"""Reduce X to the selected features and return the score of the estimator.
354354
355355
Parameters
356356
----------
@@ -448,7 +448,7 @@ def _more_tags(self):
448448

449449

450450
class RFECV(RFE):
451-
"""Recursive feature elimination with cross-validation to select the number of features.
451+
"""Recursive feature elimination with cross-validation to select features.
452452
453453
See glossary entry for :term:`cross-validation estimator`.
454454

0 commit comments

Comments
 (0)
0