@@ -80,13 +80,13 @@ class Pipeline(_BaseComposition):
80
80
estimator.
81
81
82
82
memory : str or object with the joblib.Memory interface, default=None
83
- Used to cache the fitted transformers of the pipeline. By default,
84
- no caching is performed. If a string is given, it is the path to
85
- the caching directory. Enabling caching triggers a clone of
86
- the transformers before fitting. Therefore, the transformer
87
- instance given to the pipeline cannot be inspected
88
- directly. Use the attribute ``named_steps`` or ``steps`` to
89
- inspect estimators within the pipeline. Caching the
83
+ Used to cache the fitted transformers of the pipeline. The last step
84
+ will never be cached, even if it is a transformer. By default, no
85
+ caching is performed. If a string is given, it is the path to the
86
+ caching directory. Enabling caching triggers a clone of the transformers
87
+ before fitting. Therefore, the transformer instance given to the
88
+ pipeline cannot be inspected directly. Use the attribute ``named_steps``
89
+ or ``steps`` to inspect estimators within the pipeline. Caching the
90
90
transformers is advantageous when fitting is time consuming.
91
91
92
92
verbose : bool, default=False
@@ -858,13 +858,13 @@ def make_pipeline(*steps, memory=None, verbose=False):
858
858
List of the scikit-learn estimators that are chained together.
859
859
860
860
memory : str or object with the joblib.Memory interface, default=None
861
- Used to cache the fitted transformers of the pipeline. By default,
862
- no caching is performed. If a string is given, it is the path to
863
- the caching directory. Enabling caching triggers a clone of
864
- the transformers before fitting. Therefore, the transformer
865
- instance given to the pipeline cannot be inspected
866
- directly. Use the attribute ``named_steps`` or ``steps`` to
867
- inspect estimators within the pipeline. Caching the
861
+ Used to cache the fitted transformers of the pipeline. The last step
862
+ will never be cached, even if it is a transformer. By default, no
863
+ caching is performed. If a string is given, it is the path to the
864
+ caching directory. Enabling caching triggers a clone of the transformers
865
+ before fitting. Therefore, the transformer instance given to the
866
+ pipeline cannot be inspected directly. Use the attribute ``named_steps``
867
+ or ``steps`` to inspect estimators within the pipeline. Caching the
868
868
transformers is advantageous when fitting is time consuming.
869
869
870
870
verbose : bool, default=False
0 commit comments