pan class="n">predictions</span><span class="p">,</span> <span class="n">targets</span><span class="p">,</span> <span class="n">proportiontocut</span><span class="p">):</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;Calculate the untrimmed mean error, discounting nan values</span>

<span class="sd">    Parameters</span>
<span class="sd">    ----------</span>
<span class="sd">    predictions, targets : array_like</span>

<span class="sd">        Time series or arrays to be analyzed</spa