adline">¶</a></h2>
<p>This part shows how SkopeRules can be fitted to detect credit defaults.
Performances are compared with the random forest model previously trained.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># fit the model</span>

<span class="n">clf</span> <span class="o">=</span> <span class="n">SkopeRules</span><span class="p">(</span>
    <span class="n">max_depth_duplication</span><span class="o">=</span><span class="mi">3</span><span c