pan class="n">EarlyStopping</span><span class="p">(</span><span class="n">patience</span><span class="o">=</span><span class="n">patience</span><span class="p">,</span>
                                       <span class="n">rel_tol</span><span class="o">=</span><span class="n">rel_tol</span><span class="p">,</span>
                                       <span class="n">verbose</span><span class="o">=</span><span class="n">early_verbose</span><span class="p">)</span>

        <span class="c1"># Tag for using