Skip to content

Commit 08961de

Browse files
DOC add link to plot_feature_selection_pipeline example in make_pipeline (scikit-learn#29947)
Co-authored-by: adrinjalali <adrin.jalali@gmail.com>
1 parent 934df30 commit 08961de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sklearn/pipeline.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@ def __getitem__(self, ind):
326326
Pipeline. This copy is shallow: modifying (or fitting) estimators in
327327
the sub-pipeline will affect the larger pipeline and vice-versa.
328328
However, replacing a value in `step` will not affect a copy.
329+
330+
See
331+
:ref:`sphx_glr_auto_examples_feature_selection_plot_feature_selection_pipeline.py`
332+
for an example of how to use slicing to inspect part of a pipeline.
329333
"""
330334
if isinstance(ind, slice):
331335
if ind.step not in (1, None):

0 commit comments

Comments
 (0)