title: How to determine the regression line for the data points(Theory)?
body: <p>Determine the regression line for the below data points:</p>
  
  <pre><code>(x1, y1) = (1, 4), (x2, y2) = (2, 3), (x3, y3) = (3, 9)
  </code></pre>
  
  <p>i.e. the <code>function h(x) = w + hx</code> that minimizes the squared error loss on this data.</p>