g validation idx</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 minus binary cross entropy      5.0        7.0   1</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 2                   accuracy      0.8        0.6   2</span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/cat.html" class="external-link">cat</a></span><span class="op">(</span><span class="fu">draw_frame</span><span class="op">(</span><span class="va">x</span><span class="op">)</span><spa