<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vijitkumar on Medium]]></title>
        <description><![CDATA[Stories by Vijitkumar on Medium]]></description>
        <link>https://medium.com/@vijitkumar699?source=rss-5c322983e7da------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*D-XjbXG2sic1KUJH</url>
            <title>Stories by Vijitkumar on Medium</title>
            <link>https://medium.com/@vijitkumar699?source=rss-5c322983e7da------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:33:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vijitkumar699/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Artificial Neural Network]]></title>
            <link>https://medium.com/@vijitkumar699/artificial-neural-network-78ecf3e5f60b?source=rss-5c322983e7da------2</link>
            <guid isPermaLink="false">https://medium.com/p/78ecf3e5f60b</guid>
            <category><![CDATA[artificial-neural-network]]></category>
            <dc:creator><![CDATA[Vijitkumar]]></dc:creator>
            <pubDate>Thu, 18 Aug 2022 11:52:07 GMT</pubDate>
            <atom:updated>2022-08-18T11:55:15.778Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-d2GihYbyXcVpnv2.jpg" /></figure><p>An artificial neural network is used to solve classification and regression problems</p><h3>Perceptron</h3><p>Where there is single layer neural network called the perceptron</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/0*-d_cpxYXcW790Bju.jpg" /><figcaption>Single layer neural network</figcaption></figure><p>In this fig x1 and x2 are input features and y is the output and w1 and w2 are the weight assigned to the output layer.</p><p>The problem with this single-layer neural network is they are not able to learn properly.</p><h3>Types of layers in neural network</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QMUrLz7naLAFRsecf5khVg.png" /></figure><p>There are three types of layers</p><ol><li><strong>Input Layer</strong> — This layer takes features as input in it.</li></ol><p>2.<strong> Hidden Layer —</strong> This is a very important layer in the neural network all processing of input features is done by this hidden layer.</p><p>3. <strong>Output Layer</strong> — In this layer, we get our predicted value or final value</p><h3>How do neural networks work?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c-vENbcynLr2koHz_Nyvzg.png" /></figure><p>Here X1 and X2 are input features of the dataset. H1 is a hidden layer and O1 is an output layer</p><p>Activation functions help to determine the output of a neural network. These type of functions are attached to each neuron in the network and determines whether it should be activated or not, based on whether each neuron’s input is relevant for the model’s prediction</p><p><strong>Step 1</strong> —Input goes to the hidden layer. Here W1 and W2 are weight and B1 and B2 are bias</p><p><strong>Z = (∑ X * W) + B</strong></p><p>now activation function is applied to Z</p><p><strong>Ź = Act(Z)</strong></p><p><strong>Step 2</strong> — Now <strong>Ź </strong>will go to the output layer</p><p><strong>K </strong>= <strong>(∑ Ź* W) + B</strong></p><p>now activation function is again applied</p><p><strong>ŷ = Act(K)</strong></p><p><strong>ŷ is the predicted value by the model.</strong></p><p>Note — There are various types of activation functions for example RELU, sigmoid, Leaky RELU, etc.</p><h3>Neural Network Training</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UttNzfuBUIeQYgfzLblwvA.png" /></figure><p>Here X1 and X2 are input features of the dataset. H1 is a hidden layer and O1 is an output layer</p><p><strong>Forward Propagation</strong></p><p><strong>Step 1</strong> — Input goes to the hidden layer. Here W1 and W2 are weight and B1 and B2 are bias</p><p><strong>Z = (∑ X * W) + B</strong></p><p><strong>Z = (X₁W₁ * X₂W₂) + B₁</strong></p><p>now activation function is applied to Z (we take the sigmoid activation function as an example)</p><p><strong>Ź = Act(Z)</strong></p><p><strong>Ź = 1/(1+e^-Z)</strong></p><p>*it gives a value between 0 to 1</p><p><strong>Step 2</strong> — Now <strong>Ź </strong>will go to the output layer</p><p><strong>K </strong>= <strong>(∑ Ź* W) + B</strong></p><p><strong>K = (Ź * W₃)+B₂</strong></p><p>now we apply the activation function to K</p><p><strong>ŷ = Act(K)</strong></p><p><strong>ŷ = 1/(1+e^-K)</strong></p><p><strong>ŷ is the predicted value by the model.</strong></p><p><strong>Step 3 — we find that ŷ and y are the same if not then we find the loss function</strong></p><p><strong>Loss Function = (ŷ-y)²</strong></p><p><strong>Step 4 </strong>— if the loss value is high we have to reduce the loss value to its minimum value. It can be done using an <strong>optimizer</strong></p><p>to reduce loss value we have to do backpropagation. During backpropagation, the weight gets updated</p><p><strong>Backward Propagation</strong></p><p><strong>[W</strong>nēw =<strong> W</strong>old-<strong>ɳ</strong>(<strong>∂</strong>Loss/<strong>∂W</strong>old)<strong>]</strong></p><p><strong>ɳ = learning rate(it should be small)</strong></p><p><strong>W</strong>nēw = new weight</p><p><strong>W</strong>old = old weight</p><p>once the value is updated again forward propagation started</p><h3>Chain Rule Of Backpropagation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fJ7mzOqkzeHDIX5rIqeuNg.png" /></figure><p>Chain rule backpropagation is used to update weight during backpropagation</p><p>As we know the formula of backpropagation is</p><p><strong>W</strong>nēw =<strong> W</strong>old-<strong>ɳ</strong>(<strong>∂</strong>Loss/<strong>∂W</strong>old)</p><p><strong>Loss = (ŷ-y)²</strong></p><p><strong>∂Loss</strong>/<strong>∂W</strong>old = <strong>(∂Loss/∂O₁ )*( ∂O₁/∂O₂ )*(∂O₂/∂W</strong>old<strong>)</strong></p><p>this is how we find (<strong>∂Loss</strong>/<strong>∂W</strong>old)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78ecf3e5f60b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Learning Intro]]></title>
            <link>https://medium.com/@vijitkumar699/deep-learning-intro-c6f043a4340b?source=rss-5c322983e7da------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6f043a4340b</guid>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Vijitkumar]]></dc:creator>
            <pubDate>Wed, 17 Aug 2022 10:54:38 GMT</pubDate>
            <atom:updated>2022-08-18T11:55:57.712Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/277/0*-jYnEkCGWc2DhOpW" /><figcaption>DEEP LEARNING</figcaption></figure><p>Deep Learning is a technique that mimics the human brain</p><p>There are three types of neural network</p><ol><li>ANN — <a href="https://medium.com/@vijitkumar699/artificial-neural-network-78ecf3e5f60b">Artificial Neural Network </a>(used for classification and regression problems)</li><li>CNN — Convolutional Neural Network (used for image, video frame, and object detection problems)</li><li>RNN — Recurrent Neural Network (used for NLP, Time Series problems)</li></ol><h3>Deep Learning Method</h3><p>Various methods can be used to create strong deep learning models. These techniques include learning rate decay, transfer learning, training from scratch, and <a href="https://www.techtarget.com/searchenterpriseai/definition/dropout">d</a>rop-out layer.</p><h3>Deep Learning V/s Machine Learning</h3><p>Deep learning is the subset of machine learning</p><p>Machine learning requires a domain expert to identify the most applied features. On the other hand, deep learning understands features incrementally, thus eliminating the need for domain expertise. Deep learning algorithms take much longer to train than machine learning algorithms, which only need a few seconds to a few hours. However, the reverse is true during testing. Deep learning algorithms take much less time to run tests than machine learning algorithms, whose test time increases along with the size of the data.</p><p>Machine learning does not require a high-end GPU and processor while deep learning requires it.</p><p>Whenever the dataset is large and has less domain knowledge or complex problems like NLP, Time Series, etc. we use deep learning over machine learning.</p><h3>Deep Learning Example</h3><p>As deep learning act as the human brain, it can be used for many tasks.</p><p>The most common task is NLP project, image recognition, speech recognition, Stock market, network security, Computer vision, etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6f043a4340b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>