n>
            <span class="c1"># TODO Generalize this for multi-class</span>
            <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">target_cf_class</span> <span class="o">==</span> <span class="mi">0</span> <span class="ow">and</span> <span class="bp">self</span><span class="o">.</span><span class="n">stopping_threshold</span> <span class="o">&gt;</span> <span class="mf">0.5</span><span class="p">:</span>
                <span class="bp">self</span><span c