<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged fit</title>
<link>https://coderlegion.com/tag/fit</link>
<description>Powered by Question2Answer</description>
<item>
<title>Internal Architecture of Neural Networks</title>
<link>https://coderlegion.com/18992/internal-architecture-of-neural-networks</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;p&gt;In the previous article, we discussed neural networks and how they work.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Neural Network
&lt;/h2&gt;

&lt;p&gt;A neural network consists of nodes and connections between those nodes.&lt;/p&gt;

&lt;p&gt;The connections between nodes are called parameters or weights. These values are estimated and updated during training so the model can make better predictions.&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%2Fzxkzcab09plbhm17rbo2.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%2Fzxkzcab09plbhm17rbo2.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;666&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the image above, we can see how curved lines are created to fit the data points.&lt;/p&gt;

&lt;p&gt;Neural networks start with unknown parameter values.&lt;/p&gt;

&lt;p&gt;The model then tries to fit the data points using those parameters and make predictions.&lt;/p&gt;

&lt;p&gt;If the prediction is not accurate, the model updates the parameters and tries again.&lt;/p&gt;

&lt;p&gt;This process is done using the backpropagation algorithm, which we will discuss in a later article.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building Blocks of Neural Networks
&lt;/h2&gt;

&lt;p&gt;The curved lines created to fit the data points are represented using mathematical functions.&lt;/p&gt;

&lt;p&gt;We can reshape these functions to better fit the data points.&lt;/p&gt;

&lt;p&gt;There are many common activation functions used in neural networks.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Softplus
&lt;/h3&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%2Fmc4i90cwmat9n3zu23nh.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%2Fmc4i90cwmat9n3zu23nh.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;821&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. ReLU
&lt;/h3&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%2Fto7ih7e3nrbo8esai948.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%2Fto7ih7e3nrbo8esai948.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;821&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Sigmoid
&lt;/h3&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%2Fwb9u3owuczu3a7j4cz2h.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%2Fwb9u3owuczu3a7j4cz2h.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;821&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These curved functions are called activation functions.&lt;/p&gt;

&lt;p&gt;Basically, we choose different activation functions depending on how we want the neural network to learn and fit the data.&lt;/p&gt;

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

&lt;p&gt;We now have a basic understanding of how neural networks work and how activation functions help fit data points.&lt;/p&gt;

&lt;p&gt;As we continue, we will explore concepts like backpropagation, weights, biases, and training neural networks in more detail.&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;/p&gt;


</description>
<category>Other</category>
<guid isPermaLink="true">https://coderlegion.com/18992/internal-architecture-of-neural-networks</guid>
<pubDate>Sun, 31 May 2026 02:54:57 +0000</pubDate>
</item>
</channel>
</rss>