<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged predicted</title>
<link>https://coderlegion.com/tag/predicted</link>
<description>Powered by Question2Answer</description>
<item>
<title>Slope Intercept Form with Gradient Descent</title>
<link>https://coderlegion.com/18986/slope-intercept-form-with-gradient-descent</link>
<description>
&lt;p&gt;Hello, I'm Ganesh. I'm building &lt;em&gt;git-lrc&lt;/em&gt;, an AI code reviewer that runs on every commit. It is free, unlimited, and source-available on Github. &lt;a href=&quot;https://github.com/HexmosTech/git-lrc?utm_source=chatgpt.com&quot; rel=&quot;noopener noreferrer nofollow&quot;&gt;Star git-lrc on GitHub&lt;/a&gt; to help more developers discover the project. Do give it a try and share your feedback for improving the product.&lt;/p&gt;

&lt;h2&gt;
  
  
  Slope-Intercept Form equation
&lt;/h2&gt;

&lt;p&gt;A residual is the difference between the actual y value and the predicted y value.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc08uhsnswashf8anx9o0.png&quot; class=&quot;article-body-image-wrapper&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc08uhsnswashf8anx9o0.png&quot; alt=&quot;&quot; width=&quot;646&quot; height=&quot;619&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Residule = (Actual Y - Predicted Y)&lt;/p&gt;

&lt;p&gt;Finally, the residual is squared, and the sum of all the residuals is calculated, which is called the Mean Squared Error (MSE).&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7yuqgxud1bbfssmcsppb.png&quot; class=&quot;article-body-image-wrapper&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7yuqgxud1bbfssmcsppb.png&quot; alt=&quot;&quot; width=&quot;766&quot; height=&quot;619&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(Residual)^2 is nothing but the vertical distance between the predicted line and the actual data points, squared.&lt;/p&gt;

&lt;p&gt;The lesser the value, the greater the accuracy.&lt;/p&gt;

&lt;p&gt;Using this Mean Squared Error (MSE), we can adjust the slope and y-intercept to minimize the error.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Will discuss Gradient Descent in the next part.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/HexmosTech/git-lrc&quot; rel=&quot;noopener noreferrer nofollow&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fabn6nl3iehrohehnxgje.png&quot; alt=&quot;git-lrc&quot; width=&quot;800&quot; height=&quot;373&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any feedback or contributors are welcome! It&amp;rsquo;s online, source-available, and ready for anyone to use.&lt;/p&gt;

&lt;p&gt;&amp;#11088; &lt;a href=&quot;https://github.com/HexmosTech/git-lrc?utm_source=chatgpt.com&quot; rel=&quot;noopener noreferrer nofollow&quot;&gt;Star git-lrc on GitHub&lt;/a&gt;&lt;br&gt;
Slope Intercept Form with Gradient Descent&lt;/p&gt;


</description>
<category>Other</category>
<guid isPermaLink="true">https://coderlegion.com/18986/slope-intercept-form-with-gradient-descent</guid>
<pubDate>Wed, 27 May 2026 07:11:28 +0000</pubDate>
</item>
</channel>
</rss>