">
    <div class="page-header toc-ignore">
      <h1>Worked Example: Logistic Regression</h1>
                        <h4 class="author">Jack Baker</h4>
            
          </div>

    
    
<div class="contents">
<p>In this example we use the package to infer the bias and coefficients in a logistic regression model using <a href="https://arxiv.org/pdf/1706.05439.pdf">stochastic gradient Langevin Dynamics with control variates</a>. We assume we have data <span class="math inline">\(\mathbf x_1, \dots, \