ass="o">*</span> <span class="mi">2</span> <span class="o">-</span> <span class="mi">1</span>

    <span class="n">X</span> <span class="o">=</span> <span class="n">y_ratio_X</span> <span class="o">*</span> <span class="n">y</span> <span class="o">*</span> \
        <span class="p">(</span><span class="n">rng</span><span class="o">.</span><span class="n">dirichlet</span><span class="p">([</span><span class="n">dirichlet_sparsity</span><span class="p">]</span> <span class="o">*</span> <span class="n">n_featu