zing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<p>Example usage for routing the first model prediction to <code>F1Score</code> and <code>accuracy</code>, while routing the second one to <code>R2Score</code>.</p>
<div class="highlight"><pre><span></span><span class="n">learn</span> <span class="o">=</span> <span class="n">Learner</span><span class="p">(</span><span class="o">...</span>
    <span class="n">metrics</span> <span class="o">=</span