"></a></h2><p>You can combine multiple preprocessing steps into a single pipeline for easier management and application.</p><pre><code class="language-julia hljs">using NovaML.PreProcessing: StandardScaler
using NovaML.Decomposition: PCA
using NovaML.LinearModel: LogisticRegression

sc = StandardScaler()
pca = PCA(n_components=2)
lr = LogisticRegression()

# transform the data and fit the model 
Xtrn |&gt; sc |&gt; pca |&gt; X -&gt; lr(X, ytrn)

# make predictions
ŷtst = Xtst |&gt; sc |&gt; pca |&gt; lr</