core_top_rules</span><span class="p">(</span><span class="n">X_test</span><span class="p">)</span>

<span class="k">print</span><span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">clf</span><span class="o">.</span><span class="n">rules_</span><span class="p">))</span> <span class="o">+</span> <span class="s1">&#39; rules have been built.&#39;</span><span class="p">)</span>
<span class="k">print</span><span class="p">(<