n>
<span class="s2">                        You should make sure your conditional variance estimator output is non-negative.</span><span class="se">\n</span><span class="s2">&quot;&quot;&quot;</span>
    <span class="k">if</span> <span class="n">param_dim</span> <span class="o">==</span> <span class="mi">1</span><span class="p">:</span>
        <span class="k">if</span> <span class="n">np</span><span class="o">.</span><span class="n">sum</span><span class="p">(</span><span class="n">conditional_var</span> <