s="k">return</span> <span class="mf">1.0</span> <span class="o">-</span> <span class="p">(</span><span class="n">mse</span><span class="p">(</span><span class="n">predictions</span><span class="p">,</span> <span class="n">targets</span><span class="p">)</span> <span class="o">/</span> <span class="n">mse</span><span class="p">(</span><span class="n">ref</span><span class="p">,</span> <span class="n">targets</span><span class="p">))</span></div>



<div class="viewcode-block" id="willmott_score">
<a class="v