 =</span> <span class="dv">13</span> ) </code></pre></div>
<p>A common performance measure for a classifier is the <a href="https://datawookie.netlify.com/blog/2015/12/making-sense-of-logarithmic-loss/">log loss</a>. To check the algorithm converged, we’ll plot the log loss of the data from our test set every 10 iterations. Let <span class="math display">\[\hat \pi_i^{(j)} := \frac{1}{1 + \exp\left[-\beta_0^{(j)} - \mathbf x_i \beta^{(j)}\right]},\]</span> here <span class="math inline">\(\hat \pi_i^{(j)}