eHotEncoder" title="Permalink"></a></h3><p>Encodes categorical features as a one-hot numeric array.</p><pre><code class="language-julia hljs">using NovaML.PreProcessing

labels = [&quot;M&quot;, &quot;L&quot;, &quot;XL&quot;, &quot;M&quot;, &quot;L&quot;, &quot;M&quot;]

ohe = OneHotEncoder()
onehot = ohe(labels)
ohe(onehot, :inverse)</code></pre><h3 id="PolynomialFeatures"><a class="docs-heading-anchor" href="#PolynomialFeatures">PolynomialFeatures</a><a id="PolynomialFeatures-1"></a><a class="docs-heading