<?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 Yash Agarwal on Medium]]></title>
        <description><![CDATA[Stories by Yash Agarwal on Medium]]></description>
        <link>https://medium.com/@yash.agarwal1214?source=rss-75dcc17e1a05------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VR12j8Jq6UFaPSmcSYjd1g@2x.jpeg</url>
            <title>Stories by Yash Agarwal on Medium</title>
            <link>https://medium.com/@yash.agarwal1214?source=rss-75dcc17e1a05------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:31:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yash.agarwal1214/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[An Intuition of Reinforcement Learning]]></title>
            <link>https://medium.com/@yash.agarwal1214/an-intuition-of-reinforcement-learning-2620f6b0201?source=rss-75dcc17e1a05------2</link>
            <guid isPermaLink="false">https://medium.com/p/2620f6b0201</guid>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Yash Agarwal]]></dc:creator>
            <pubDate>Thu, 01 Jul 2021 17:18:24 GMT</pubDate>
            <atom:updated>2021-07-01T17:18:24.771Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5lq8-SY8bY3pQZOt" /></figure><p>Reinforcement Learning is an aspect of Machine Learning in which the agent gathers information from its environment and then uses it to execute various actions in order to achieve greater rewards. It has even enabled various algorithm which has exceeds the Human performance in Atari, Go etc.</p><blockquote>RL can be described as <strong>“teaching a baby to walk”</strong> from a broad perspective. We regard the baby’s arrival at its destination as a pleasant reward, whereas If we put up a barrier, the baby can get bruised, which is a negative reward.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*Wd8lxn_Pbm8EzRnNrKwB9w.png" /></figure><p>Similarly, RL entails training machine learning models to make decisions. The agent interacts with the environment, granting positive and negative reward in response to specific actions. Through this Experience, the agent learns the environment and can enhance decision-making to maximize rewards.</p><p>RL works on<strong> Exploration and Exploitation Trade-off</strong> , Exploration means is to find all the knowledge about the Environment where as , Exploitation refers to, Exploiting the surrounding to enable better rewards. Real Life Example : Say you go to same restaurant every weekend, so you are <strong>Exploiting</strong> it. But on the other hand if you try new restaurants every weekend, then it’s<strong> Exploration</strong>. Exploration is extensive for future rewards which might be greater than the present rewards.</p><h3>Approach for RL</h3><p>There are different algorithms that work on Reinforcement Learning. Some of them are mentioned below :</p><ul><li><strong>Q-Learning </strong>— When it comes to Q-Learning, Initially, we create a Q-table with N columns containing N actions and M rows containing different States, all of which start with 0. We then use the Q-value Function to calculate the output or reward for each action and at each stage, and the output is updated on the Q-table iteratively, after each stage and action. The purpose is to maximize the output of Q-table. It is an <strong><em>Iterative process</em></strong></li></ul><p>The Q-Function uses <strong>Bellman Equation </strong>and takes two inputs : State(<strong>s</strong>) and action(<strong>a</strong>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*p6TLBZMiQZGXRtAmk5mYWQ.png" /></figure><ul><li>Policy Gradient<strong> — </strong>It is method which directly optimize in the policy state. In policy gradient, we usually use neural networks to directly model the action probability, we tweak parameters of the neural network so that ‘good’ actions will be sampled more likely in future. We repeat this process until policy network converges to optimal policy. Most popular example is: Ping Pong game.</li></ul><h3>Closing Note</h3><p>Today, Reinforcement Learning is an exhilarating field for study and research. We can look at the example of self-driving cars, which have acquired a huge popularity in recent years. Furthermore, RL can provide interesting advancements to the globe in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2620f6b0201" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>