Last modified on 01 Oct 2021.
What’s the idea of Pipeline?
Stick multiple processes into a single (scikit-learn) estimation.
Why pipeline?
Pipeline in Scikit-learn
from sklearn.pipeline import Pipeline
from sklearn.pipeline import make_pipeline
Difference between Pipeline
and make_pipeline
Pipeline
: naming.make_pipeline
: no need naming.
make_pipeline(StandardScaler(), GaussianNB(priors=None))
Pipeline(steps=[('standardscaler', StandardScaler()),
('gaussiannb', GaussianNB())])
Example
- Face Recognition using SVM – Open in HTML – Open in Colab.
•Notes with this notation aren't good enough. They are being updated. If you can see this, you are so smart. ;)