code></pre><p>It is also possible to create pipelines using NovaML&#39;s <code>Pipe</code> constructor:</p><pre><code class="language-julia hljs">using NovaML.Pipelines: pipe

# create a pipeline
pipe = pipe(
   StandardScaler(),
   PCA(n_components=2),
   LogisticRegression())

# fit the pipe
pipe(Xtrn, ytrn)
# make predictions
ŷ = pipe(Xtst) 
# make probability predictions
ŷprobs = pipe(Xtst, type=:probs)</code></pre><h2 id="Text-Preprocessing"><a class="docs-heading-anchor" href="#Text-Preprocessing"