><span class="n">X_train</span><span class="p">,</span> <span class="n">y_train</span><span class="p">)</span>

<span class="c1"># in the score_top_rules method, a score of k means that rule number k</span>
<span class="c1"># vote positively, but not rules 1, ..., k-1. It will allow us to plot</span>
<span class="c1"># performance of each rule separately on the ROC and PR plots.</span>
<span class="n">scoring</span> <span class="o">=</span> <span class="n">clf</span><span class="o">.</span><span class="n">s