pan class="n">y_train</span><span class="p">)</span>
<span class="n">scoring_rf</span> <span class="o">=</span> <span class="n">rf</span><span class="o">.</span><span class="n">predict_proba</span><span class="p">(</span><span class="n">X_test</span><span class="p">)[:,</span> <span class="mi">1</span><span class="p">]</span>

<span class="k">print</span><span class="p">(</span><span class="s2">&quot;Random Forest selected parameters : </span><span class="si">%s</span><span class="s2">&quot;</span> <span cl