AI engineering glossary · ML fundamentals

What is pipeline?

Pipeline (also called ML pipeline): A chained sequence of steps, such as cleaning, scaling, feature creation and the model, packaged so that they run in order as one unit. It makes experiments repeatable and prevents leakage, since preprocessing is fitted only on the training part of each split.

Level: intermediateTopic: ML fundamentals

Pipeline: an example

Pipeline([('scale', StandardScaler()), ('clf', LogisticRegression())]) scales and classifies in one fit call.

Related terms

More ML fundamentals terms

Where you learn it

Pipeline is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.