an class='st'>"theta"</span> <span class='kw'>=</span> <span class='fl'>0</span>)
<span class='no'>logLik</span> <span class='kw'>=</span> <span class='kw'>function</span>(<span class='no'>params</span>, <span class='no'>dataset</span>) {
    <span class='no'>distn</span> <span class='kw'>=</span> <span class='no'>tf</span>$<span class='no'>distributions</span>$<span class='fu'>Normal</span>(<span class='no'>params</span>$<span class='no'>theta</span>, <span class='fl'>1</span>)
    <span class='fu'>return<