Skip to content

Commit 9fedbcd

Browse files
authored
DOC: improve documentation of Pipeline (#447)
1 parent aa7fbdd commit 9fedbcd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imblearn/pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
class Pipeline(pipeline.Pipeline):
2929
"""Pipeline of transforms and resamples with a final estimator.
3030
31-
Sequentially apply a list of transforms, samples and a final estimator.
31+
Sequentially apply a list of transforms, sampling, and a final estimator.
3232
Intermediate steps of the pipeline must be transformers or resamplers,
3333
that is, they must implement fit, transform and sample methods.
34+
The samplers are only applied during fit.
3435
The final estimator only needs to implement fit.
3536
The transformers and samplers in the pipeline can be cached using
3637
``memory`` argument.

0 commit comments

Comments
 (0)