Linear Regression: Closed-Form solution, the Dart way
<p>As you may notice, it’s a quadratic equation. So, if we substitute <code>2</code> with <code>a</code>, <code>7</code> with <code>b</code> and <code>3</code> with <code>c</code>, we may use the well-known formula to find all the possible values of <code>x</code> :</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:270/1*hFqXAeNam0bRQejeUHbedw.png" style="height:71px; width:270px" /></p>
<p>Again, it‘s easy to find the answers: 3 and 0.5.</p>
<p>What is mutual between these 2 examples? Right, they both can be expressed by a formula, which implies reaching the only possible solution for a finite number of simple mathematics operations.</p>
<p><a href="https://medium.com/@ilgyrd/ordinary-least-squares-closed-form-solution-the-dart-way-d7c0ee0e0d02"><strong>Click Here</strong></a></p>