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