span>
            <span class="c1"># self.random_state.shuffle(neighbors_choices)</span>
            <span class="n">rng</span><span class="o">.</span><span class="n">shuffle</span><span class="p">(</span><span class="n">neighbors_choices</span><span class="p">)</span>

            <span class="c1"># Permuting indices</span>
            <span class="n">m</span> <span class="o">=</span> <span class="mi">0</span>
            <span class="n">use</span> <span class="o">=</span> <span class="n">neighbors_choices