ref="#Cluster-Resampler" title="Link to this heading"></a></h1>
<p>This notebook shows how <code class="docutils literal notranslate"><span class="pre">clusterResampler</span></code> methods are used to create synthetic samples. <code class="docutils literal notranslate"><span class="pre">clusterResampler</span></code> relies on a Python package <a class="reference external" href="https://pypi.org/project/k-means-constrained/">k-means-constrained</a> to cluster the data. There are two methods demonstrate