uot;target&quot;]</code></pre><p>Split data to train and test sets.</p><pre><code class="language-julia hljs">using NovaML.ModelSelection
Xtrn, Xtst, ytrn, ytst = train_test_split(X, y, test_size=0.3, stratify=y)</code></pre><p>Fit and transform <code>StandardScaler</code>.</p><pre><code class="language-julia hljs">using NovaML.PreProcessing

stdscaler = StandardScaler()

# fit and transform
Xtrnstd = stdscaler(Xtrn)

# transform
Xtststd = stdscaler(Xtst)

# inverse transform
Xtrn = stdscaler(Xtrnstd, type=