Last modified on 01 Oct 2021.

What’s the idea of Pipeline?

Stick multiple processes into a single (scikit-learn) estimation.

Pipeline's idea

Why pipeline?

Why pipeline

Pipeline in Scikit-learn

from sklearn.pipeline import Pipeline
from sklearn.pipeline import make_pipeline

Difference between Pipeline and make_pipeline

make_pipeline(StandardScaler(), GaussianNB(priors=None))

Pipeline(steps=[('standardscaler', StandardScaler()),
                ('gaussiannb', GaussianNB())])

Example

Notes with this notation aren't good enough. They are being updated. If you can see this, you are so smart. ;)