"hasAnchor">
<a href="#step-1---prepare-data-as-binary-features" class="anchor"></a>Step 1 - Prepare Data as Binary Features</h3>
<p>We use the <code><a href="../reference/binarize.html">binarize()</a></code> function to produce a feature set of binary (0/1) variables. Numeric data are binned (using <code>n_bins</code>) into categorical data, then all categorical data is one-hot encoded to produce binary features. To prevent low frequency categories (high cardinality categories) from increasing the dimensio