an class="p">)</span><span class="o">+</span><span class="mi">1</span><span class="p">):</span>
            <span class="n">selected_features</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">choice</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">features_to_vary</span><span class="p">,</span> <span class="p">(</span><span class="n">sample_size</span><span cla