Finding patterns in data often proceeds in a chain of data-processing steps, e.g., feature selection, normalization, and classification. In sklearn, a pipeline of stages is used for this.
For example, the following code shows a pipeline consisting of two stages. The first scales the features, and t...