Linear Regression: Closed-Form solution, the Dart way

<p>As you may notice, it&rsquo;s a quadratic equation. So, if we substitute&nbsp;<code>2</code>&nbsp;with&nbsp;<code>a</code>,&nbsp;<code>7</code>&nbsp;with&nbsp;<code>b</code>&nbsp;and&nbsp;<code>3</code>&nbsp;with&nbsp;<code>c</code>, we may use the well-known formula to find all the possible values of&nbsp;<code>x</code>&nbsp;:</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&lsquo;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>