A pipeline is a chain of (possibly optional) sub-tasks that are typically executed sequentially in order to perform a bigger task.

Like the eating-a-banana-pipeline:

  • Pick up banana
  • Peel banana
  • Bite off pieces until the banana is eaten
  • Throw peel in recycling bin (to avoid slipping over it)

Similarly we can define pipelines for Machine Learning: