<?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 The Coding Club of SNU Chennai on Medium]]></title>
        <description><![CDATA[Stories by The Coding Club of SNU Chennai on Medium]]></description>
        <link>https://medium.com/@codingclub_82973?source=rss-b9c6c49f8506------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mzkmcvs4Hrx8pnMOm8RL4A.png</url>
            <title>Stories by The Coding Club of SNU Chennai on Medium</title>
            <link>https://medium.com/@codingclub_82973?source=rss-b9c6c49f8506------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:08:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@codingclub_82973/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[Understanding Accuracy, Precision, Recall and F1-Score]]></title>
            <link>https://medium.com/@codingclub_82973/understanding-accuracy-precision-recall-and-f1-score-1901d188b4e9?source=rss-b9c6c49f8506------2</link>
            <guid isPermaLink="false">https://medium.com/p/1901d188b4e9</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[The Coding Club of SNU Chennai]]></dc:creator>
            <pubDate>Fri, 12 Jun 2026 14:38:08 GMT</pubDate>
            <atom:updated>2026-06-12T14:38:08.426Z</atom:updated>
            <content:encoded><![CDATA[<p>Sklearn.metrics just prints it out, but what does it actually tell?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6W1yhxnbsQUjPR-Wxb0bBQ.png" /><figcaption>A Confusion Matrix isn’t Confusing | Photo designed by Author on Canva</figcaption></figure><p>I’m a bit sheepish to admit that I didn’t properly understand accuracy, precision, recall and F1 score until my fourth year (<em>a few weeks ago really</em>). I knew accuracy was the total correct predictions out of all the samples, and you used precision, recall and F1 score when there was a class imbalance, and accuracy won’t reveal the whole story, hence the other metrics, but that’s about it. I was doing some job preparation and decided to train an SVM. The results were absolutely terrible, but I wanted to understand what they actually told.</p><h3>The Metrics</h3><p>These metrics are predominantly used for supervised learning tasks. Before that, let us understand the simplest class of classification — binary.</p><h4>Binary classification</h4><p>A binary classification task, as the name suggests, has two classes. We primarily call them are positive and negative classes.</p><p><strong>positive class</strong> — our target class, what we would like to classify<br><strong>negative class </strong>— not our target class</p><p>The classes are mutually exclusive.</p><p>Let us take the following scenarios,</p><ol><li>Disease Diagnosis — Do they have the disease or not?</li><li>Credit Risk — Is a person likely to default their loan or not? (What I was working on)</li></ol><p>Let’s find the positive and negative classes.</p><p>For Disease Diagnosis,<br>Positive Class — Has the disease<br>Negative Class — Doesn’t have the disease</p><p>For Credit Risk,<br>Positive Class — Likely to default<br>Negative Class — Not likely to default</p><h4>Categorizing the Predictions</h4><p>Predictions are categorized into the following classes</p><ol><li>True Positive (TP) — Belongs to +ve class was classified as +ve</li><li>False Positive (FP) — Belongs to -ve class was classified as +ve</li><li>False Negative (FN) — Belongs to +ve class was classified as -ve</li><li>True Negative (TN) — Belongs to -ve class was classified as -ve</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*rDYWTFYdRp31heJnuDwAOA.png" /><figcaption>Classification of SURF image features by selected machine learning algorithms — Scientific Figure on ResearchGate. Available from: <a href="https://www.researchgate.net/figure/Structure-of-the-confusion-matrix-with-TP-FN-FP-and-TN-values_fig5_320634300">https://www.researchgate.net/figure/Structure-of-the-confusion-matrix-with-TP-FN-FP-and-TN-values_fig5_320634300</a> [accessed 1 Apr 2026]</figcaption></figure><h3>The Metrics</h3><h4>Accuracy</h4><p>Accuracy = (TP + TN)/ (TP + FN + FP + TN)</p><p>What is indicates — Out of all the samples, what proportion were predicted correctly?</p><h4>Precision</h4><p>Precision = TP/(TP + FP)</p><p>Indicates — Out of all the samples that the model predicted as the positive (target) class, what proportion of those were actually from the target class?</p><h4>Recall (Sensitivity)</h4><p>Recall = TP/(TP + FN)</p><p>Out of all the samples that are actually positive, what proportion of samples did the model predict correctly?</p><h4>F1-Score</h4><p>F1 score is the harmonic mean of precision and recall</p><p>So we start with the following equation</p><p>F1 = 2 /( P^(-1) + R^(-1))</p><p>After some simplification (<em>exercise! jk, you can if you want, or just google/chatgpt it</em>)</p><p>F1 = 2 x precision x recall/(precision + recall)</p><p>In terms of TP, FP, FN, TN</p><p>F1 = 2*TP/(2*TP + FP + FN)</p><p><em>Some new information, I recently went through a few pages of Jurafsky and got to know that there is a measure called F-score, which is weighted by a parameter </em>β <em>this parameter when &gt; 1 favours recall and when &lt;1 favours precision, when it is exactly 1, it weighs both equally resulting in the F1 Score.</em></p><h4>Multiple Classes</h4><p>We don’t have positive or negative classes here, but we do have TP, FP, FN, TN</p><ol><li>True Positive (TP) — Classified in the correct class</li><li>False Positive (FP) — Doesn’t belong to class but classified as belonging</li><li>False Negative (FN) — Belong to the class, classified as another</li><li>True Negative (TN) — Doesn’t belong to class and classified as such</li></ol><p>We draw a confusion matrix much the same way and calculate the metrics with the same formula. We just extend the definitions of the above to capture all cases.</p><h4>In Practice</h4><p><strong>Recall: </strong>Used when False Negatives are more expensive than False Positives.<br><strong>Example</strong>: Medical Diagnosis. When there is a disease you want to ensure that it is detected. A False Negative can severely affect someone’s life. A False Positive can be remedied by doing further testing.</p><p><strong>Precision: </strong>Used when it is very important for positive predictions to be accurate. In this scenario you don’t want False Positives. <br><strong>Example</strong>: Email Spam Detection. You do not want non-spam to be detected as spam. This risks losing some mails with potential important information.</p><p><strong>F1-Score:</strong> When you don’t want False Negatives or False Positives. This is a metric used predominantly in most domains. <br><strong>Example</strong>: Fraud Detection for Financial Institutes. You want to correctly detect Frauds and at the same time not block legitimate customers.</p><p><strong>Accuracy</strong>: Just a metric that gives you an surface level idea of model performance which is sometimes highly misleading. One should never rely fully on accuracy, especially when there is a class imbalance and for critical domains. The other metrics are more relevant and informative.</p><h3>Further Reading</h3><ol><li>False Positive Rate &amp; True Positive Rate</li><li>AUC-ROC</li><li>Confusion Matrices</li><li>Regression Metrics: MAE, MSE, RMSE (what is for classification accuracy, these are for regression models)</li></ol><h3>References</h3><ol><li>Speech and Language Processing, Jurafsky (one of the clearest explanations of these metrics I ever read)</li><li><a href="https://developers.google.com/machine-learning/crash-course/classification/accuracy-precision-recall">Google Blog</a> — Helped me to properly choose examples for each of these metrics</li></ol><p><em>This is a beginner level blog, and more of a reference, we hope this was of some help to you. Please look at the further reading to advance yourselves on this and always do things practically — the best way to learn.</em></p><p>Author: <a href="https://medium.com/u/aa2b3a14e38d">Susena Venkatesh Nathan</a></p><p><em>This blog was written over several months, so if the tone changed in between you know why.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1901d188b4e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Introduction to Reinforcement Learning]]></title>
            <link>https://medium.com/@codingclub_82973/an-introduction-to-reinforcement-learning-4f75f5f8bb2a?source=rss-b9c6c49f8506------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f75f5f8bb2a</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[reinforcement-learning]]></category>
            <dc:creator><![CDATA[The Coding Club of SNU Chennai]]></dc:creator>
            <pubDate>Wed, 24 Dec 2025 16:20:00 GMT</pubDate>
            <atom:updated>2025-12-24T16:24:53.393Z</atom:updated>
            <content:encoded><![CDATA[<p>From a beginner.</p><p><em>I recently took a course on RL. I found it very interesting and explored it a little. I do believe the best way to learn is to teach and explore, which I shall do via this blog.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wWzIufy5TE2qBbxWdnv9nA.jpeg" /><figcaption>Image generated by Nano Banana</figcaption></figure><h3>Reinforcement Learning?</h3><p>A branch of Machine Learning which is a field in its own right.</p><p>The two categories of ML that most people come across are:<br>1. Supervised learning (learning from labelled data)<br>2. Unsupervised learning (finding patterns hidden in unlabelled data)</p><p>Reinforcement Learning is another learning method, distinct from the above two. It is simultaneously a problem, a class of solution methods for that problem and a field that studies the problem and its solution methods.</p><h3>What is it though?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*l_bBM-ujV8XBzrtZ.png" /><figcaption>By Megajuice — Own work, CC0, <a href="https://commons.wikimedia.org/w/index.php?curid=57895741">https://commons.wikimedia.org/w/index.php?curid=57895741</a> | RL essentially*</figcaption></figure><blockquote>Reinforcement learning is learning what to do — how to map situations to actions — so as to maximize a numerical reward signal.</blockquote><p>It is based on trial and error learning. You learn by experiences and receive rewards or penalties for whatever you do.</p><p>An agent performs actions on an environment and receives rewards, it then adjusts its behavior to maximize the rewards over time. No labels are involved unlike supervised learning, nor do we learn hidden patterns like unsupervised learning.</p><p><strong>Reinforcement learning is trying to maximize a reward signal.</strong></p><p><em>*The interpreter mentioned in the image can be thought of as a component that shares the reward and state with the agent in a way interpretable to the agent. This isn’t a core component and you don’t have to worry much about it, even if you implement some algorithms.</em></p><h3>Example &amp; Analogy: Learning to ride a bike</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CtPmdereUuQp_Hb5" /><figcaption>Photo by <a href="https://unsplash.com/@zelebb?utm_source=medium&amp;utm_medium=referral">Andrey Matveev</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a> | You can see he’s just learning to ride</figcaption></figure><p><strong>How does a child learn to balance a bike?</strong><br>As soon as the child’s parent lets go, the child is on their own and must learn to balance.</p><p>No kid spends time analyzing videos of every rider and sees how exactly they maneuver the bike (A loose example for unsupervised learning). Nor does the child memorize examples of good and bad riding (A loose example for supervised learning).</p><p>The child instead just pedals. Some kids wobble and/or fall and some get it on their first try. But after a few tries of wobbling and falling, most kids do get the hang of it. All they had to know about a bike was — you sit on it and pedal — <strong><em>done right the bike moves forward and they don’t fall — the goal</em></strong>.</p><p>This is how Reinforcement learning works.</p><p>You get rewards/penalties (penalties are essentially negative rewards), over here wobbling (-), falling (-) and balancing (+) receive <strong><em>rewards</em></strong>.</p><p><em>[ (-) means a negative reward (aka penalty) &amp; (+) means a positive reward]</em></p><p>The kid tries to maximize the reward, which is done by balancing.</p><p><strong><em>The</em></strong> <strong><em>child is the agent</em></strong> and <strong><em>the bicycle and the road are the environments</em></strong>, if this is a little confusing, the next few sections will clarify this. We can also see <strong><em>episodes in the form of tries</em></strong>.</p><h3>The Core Elements of RL</h3><h4>Agent</h4><p>The learner. Interacts with the environment (performs actions) and changes behavior over time (learning).</p><h4>Environment</h4><p>The world in which the agent operates. The agent receives states and rewards from it.</p><h3>Some important terms</h3><h4>States</h4><p>A state represents the current configuration of the environment.</p><h4>Actions</h4><p>What the agent performs on the environment. Actions receive rewards (positive and negative).</p><h3>The Four Core Sub Elements of RL</h3><h4>Policy</h4><p>Defines the way the learning agent behaves at a given time.<br>Can be a function or a mapping. It alone is sufficient to determine the agent’s behavior.</p><h4>Reward Signal</h4><p>Defines the goal of the Reinforcement Learning problem. On each time step, the environment returns a single number to the agent — the reward. Agent’s sole goal is to maximize the total reward.</p><p>The reward signals defines what are the good and bad events for the agent.</p><h4>Value Function</h4><p>Defines what is good in the long run in contrast to the reward signal which indicates what’s good in an immediate sense. They indicate the long term desirability of states after taking into account the states likely to follow. Rewards indicate the immediate desirability.</p><h4>Model (Optional)</h4><p>Something that mimics the behavior of the environment, or something that allows us to make inferences on how the environment will behave. Models are used for planning.</p><h3>Key Features:</h3><p>Explicitly considers the whole problem of a goal-directed agent interacting with an uncertain environment. Essentially it sees the bigger picture.</p><p>It is goal based. All agents have explicit goals, can observe aspects of their environments and perform actions to influence the environment.</p><p>The agent seeks to achieve a goal despite uncertainty about its environment.</p><p><strong>Fun fact: </strong>RL is the closest to the kind of learning that humans and other animals do, out of all the forms of Machine Learning.</p><h3>The Exploration — Exploitation Dilemma</h3><p>There is a trade-off between exploration and exploitation.</p><p>To obtain a lot of reward, the agent performs actions which is known to have resulted in high reward in the past. To discover such actions however it needs to try unselected actions.</p><p>The agent must <strong>exploit</strong> what it already knows and must also <strong>explore</strong> to find better action selections.</p><p><strong>Dilemma</strong> — neither exploration nor exploitation can be pursued explicitly without failing at the task.</p><h3>Some Fundamental Things &amp; Math</h3><h4>Markov Decision Process (MDP)</h4><p>An MDP formally describes an environment for RL. Almost all RL problems can be formalized as MDPs. The markov property states that only the current state and action taken in that state, determines the new state of the environment and the reward given to the agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*IeXdjrqBJDt8F3OvUyrz7g.png" /><figcaption>Sutton and Barto</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*wZQEVlrxnEnl4nMTHn-7jw.png" /><figcaption>Sutton and Barto | A little math</figcaption></figure><p>The above equation states the follows,<br>The probability of observing a particular state and reward, depends only on the previous state and action.</p><p>When the environment is fully observable, that is, we can see the full configuration, we call that a <strong>state</strong>. When we can’t observe all elements of the environment, what we observe is called an <strong>observation</strong>. In a Partially observable Markov Decision Process, only observations are available to the agent.</p><h4>Value Function</h4><p>State value = expected return starting from a state.</p><p>Value of an arbitrary action <em>a</em>, is the expected reward given that <em>a</em> is selected.</p><p>Action value (Q) = expected return starting from a state and taking an action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*i-k0qBhMb7NO8Y_rv2xE7A.png" /><figcaption>Sutton and Barto</figcaption></figure><p>A typical way to calculate it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*2qOhzoG5Zy_3rnB00yXd9Q.png" /><figcaption>Sutton and Barto | One way of calculating the value at a timestep t</figcaption></figure><h4>Greedy Action Selection</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*498lWnxY9TNbQeGZmvUX2A.png" /><figcaption>Sutton and Barto</figcaption></figure><p>Greedy action selection is selecting the action that has the highest value.</p><h4>Not all Environments are Episodic</h4><p>This is something to keep in mind when approaching a problem. So you change your approach accordingly.</p><h4>Return</h4><p>The objective of an agent is to maximize the cumulative reward it receives in the long run. How would we do this?</p><p>We use returns. We seek to maximize the expected return.</p><p><strong>Simplest case:</strong> <br>Return is the sum of rewards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*UsjIDhJ-H6Lml0fCeCV1wQ.png" /><figcaption>Sutton and Barto</figcaption></figure><p>Return at time t is the sum of the rewards received from time t+1. T is the final time step.</p><p><strong>With Discounting:<br></strong>Agent-Environment interaction can’t be broken into naturally identifiable episodes all the time. Sometimes it is continuous. For this we use discounting.</p><p>According to this approach, the agent tries to select actions so that the sum of the discounted rewards it receives over the future is maximized. Ensures the return is finite in continuing tasks.</p><p>Idea: Reward received in future is worth less than what it would’ve been worth had it been received immediately. Prioritizes immediate rewards.</p><p>𝛄 denotes the discount factor and is between 0 and 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*MHqx3wY6tuwcx9tbo8CKZA.png" /><figcaption>Sutton and Barto</figcaption></figure><h4>Bellman Equation (Definition alone)</h4><p>It expresses a relationship between the value of a state and the values of its successor states.</p><p>This equation is at the heart of many algorithms and methods in RL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*pqsNrLeiS4L_gHlYmppfZg.png" /><figcaption>Sutton and Barto | A simplified version of the Bellman Equation</figcaption></figure><p>What it indicates: the value of a state equals its immediate reward plus the value of what comes next.</p><p>This is not the exact bellman equation. The exact bellman equation is equation 3.14 in Sutton and Barto.</p><h3>Methods — A Basic Overview</h3><p>Some algorithms, methods and paradigms essential to RL.</p><h4>Tabular Solution Methods</h4><ul><li>Dynamic Programming</li><li>Monte Carlo methods</li><li>Temporal Difference Learning</li><li>Tabular Q-Learning</li><li>SARSA</li></ul><h4>Approximate Solution Methods</h4><p>Approximate the policy function and/or the value function using function approximators instead of lookup tables.</p><ul><li>Deep Q-Learning (DQN)</li><li>Policy Gradient<br>- REINFORCE<br>- Actor-Critic<br>- TRPO<br>- PPO<br>- A2C/A3C</li></ul><h4>Exploration Strategies</h4><ul><li>Epsilon Greedy</li><li>Upper Confidence Bound</li><li>Thompson Sampling</li></ul><h4>Other ways to learn</h4><p>Genetic Algorithms (not strictly RL but the fields overlap at times)</p><h3>An Example</h3><p>So I spent one evening trying out OpenAI gymnasium and MuJoCo. I experimented with a few environments and algorithms. I’ll talk about one of them, to give you an idea of RL in action.</p><h4><a href="https://gymnasium.farama.org/environments/mujoco/inverted_pendulum/">Inverted Pendulum</a></h4><p>MuJoCo’s Cart Pole.</p><p><strong>Goal:</strong> Balance the pendulum so that it doesn’t fall off the bar.<br><strong>Episode length:</strong> 1000 steps.<br><strong>Reward:</strong> Number of steps the pendulum stays balanced.<br><strong>State/Observation space:</strong> Continuous (Position, angle with respect to vertical, Linear velocity, Angular Velocity).<br><strong>Action space:</strong> Continuous. Negative values push left, positive values push right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*HsrOqeo6wymFf4yoya81tw.gif" /><figcaption>How the environment works | It tries to tilt one way or the other. Here I’ve just used random actions to try to keep it on the bar (purple line).</figcaption></figure><p>I use the Monte Carlo REINFORCE Algorithm to find the optimal action given the state.</p><p>Policy gradient methods use function approximators. Here, I used a Neural Network which approximates the policy, which takes in the 4 observations as input and outputs a single scalar number as output in the range [-3,3].</p><p><strong>Training</strong><br>1. The action is sampled from a Gaussian distribution whose mean is predicted by the policy network for the current state. (<em>Any distribution would do, the gaussian is chosen because it is continuous and easy to differentiate</em>)<br>2. Perform the action and observe the reward from the environment.<br>3. Calculate the return for Monte Carlo REINFORCE and the log probability of the sampled action.<br>4. Using the return and log probability, calculate the policy loss and backpropagate it through the Policy Neural Network to update the policy.</p><p><strong>Using the learnt policy<br></strong>The learnt policy is used to select actions for states. Below is the diagram that shows the new policy at action — this gives a reward of 1000 each time!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*szgSfbsL1XVSUtk-5GIi-A.gif" /><figcaption>A snippet of REINFORCE in Action | It is actually moving as you can see</figcaption></figure><p><em>I have omitted the pseudocode</em>. <em>In another blog, we can do a more math and code heavy approach. Showing each component of training, the equations behind it and why it works. We can try out some other MuJoCo and Gymnasium environments. Let us know if you would like that.</em></p><h3>In the Real World</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NYAkuhDQ2dfGRTIH" /><figcaption>Photo by <a href="https://unsplash.com/@isthatbrock?utm_source=medium&amp;utm_medium=referral">Brock Wegner</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>1. Robotics &amp; Control</h4><ul><li>Robot arm manipulation (grasping, stacking objects)</li><li>Drone flight stabilization</li><li>Quadruped locomotion (Boston Dynamics–style walking)</li></ul><h4>2. Autonomous Driving</h4><ul><li>Lane keeping</li><li>Adaptive cruise control</li><li>Decision-making at intersections</li><li>Motion planning under uncertainty</li></ul><h4>3. Recommendation Systems</h4><ul><li>YouTube / Netflix content recommendation</li><li>News feed optimization</li><li>Personalized ranking (choosing what to show next)</li></ul><h4>4. Natural Language Processing</h4><ul><li>RLHF (Reinforcement Learning from Human Feedback)</li><li>Improving reasoning and alignment in LLMs</li><li>Dialogue policy learning in conversational agents</li></ul><h4>5. Games</h4><ul><li>AlphaGo, AlphaZero, Chess, Shogi</li><li>Poker agents (superhuman performance, bluffing)</li></ul><h4>6. Finance &amp; Trading</h4><ul><li>Portfolio management</li><li>Market making</li><li>Algorithmic trading strategies that adapt to environment dynamics</li></ul><h4>7. Operations &amp; Supply Chain</h4><ul><li>Inventory management</li><li>Dynamic pricing</li><li>Scheduling and routing (delivery vehicles, warehouses)</li></ul><h4>8. Healthcare</h4><ul><li>Treatment planning (e.g., insulin dosing)</li><li>Adaptive clinical trials</li><li>Personalized medicine strategies</li></ul><h4>9. Energy Systems</h4><ul><li>Smart grid control</li><li>Power consumption optimization</li><li>Data-center cooling</li></ul><h4>10. Industrial Automation</h4><ul><li>Manufacturing process control</li><li>Robotic assembly</li><li>Fault detection and recovery</li></ul><h3>References</h3><ol><li><em>Richard S. Sutton and Andrew G. Barto. 2018. Reinforcement Learning: An Introduction. A Bradford Book, Cambridge, MA, USA.</em></li><li><em>Course resources (sadly, can’t be shared)</em></li></ol><h3>Let us know what &amp; how you want to learn!</h3><p>We want to hear from you! Let us know what you want to learn and how. Help us improve our blogs. Please give your feedback and suggestions on the blogs you read. This will help us better understand your needs and improve.</p><p>With ❤ <a href="https://medium.com/u/aa2b3a14e38d">Susena Venkatesh Nathan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f75f5f8bb2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting started with Pandas and EDA]]></title>
            <link>https://medium.com/@codingclub_82973/getting-started-with-pandas-and-eda-7f8fa3c428a1?source=rss-b9c6c49f8506------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f8fa3c428a1</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[exploratory-data-analysis]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[The Coding Club of SNU Chennai]]></dc:creator>
            <pubDate>Wed, 24 Dec 2025 16:19:59 GMT</pubDate>
            <atom:updated>2025-12-24T16:19:59.075Z</atom:updated>
            <content:encoded><![CDATA[<p>Your First step to Data Science and AI</p><blockquote><strong>The goal is to turn data into information, and information into insight.</strong><br> — <em>Carly Fiorina</em></blockquote><blockquote><strong>Torture the data long enough and it will confess to anything.</strong><br> — <em>Ronald Coase</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fxTkHQ0fzD-CE0aI" /><figcaption>Photo by <a href="https://unsplash.com/@sid_balachandran?utm_source=medium&amp;utm_medium=referral">Sid Balachandran</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a> | A panda — cause we’re gonna talk about Pandas (the library)</figcaption></figure><p>Hello to the beginners, intermediates, experts or anyone who has come across this blog. Getting started with AI and Data Science is a little tricky, way too many resources out there.</p><p>I am writing this blog as a guide to get started with coding AI and Data Science projects. To be more explicit this is the starting step to code the start of the ML/DL pipeline.</p><p>The following sections answer the questions<strong> “What?”</strong>, <strong>“How?”</strong> and finally <strong>“Why?”</strong>. Although not explicitly mentioned, the<strong> “How?” </strong>section also provides answers to <strong>“When?” </strong>and “<strong>Where?”</strong>.</p><h3>What are we learning?</h3><p>To answer this let us ask a question:</p><p><strong>Q. What is the start of every ML/DL pipeline? </strong><br><strong>A:<em> Data collection, followed by analysis, exploration, and preprocessing.</em></strong></p><p>The data collection part takes much of the time in the whole process. For the sake of convenience and our sanity we shall already assume we have data at hand. This is true 90% of the time, thanks to the efforts of incredible humans who have tirelessly collected data and created numerous datasets. Here are some wonderful sources,</p><ul><li><a href="https://www.kaggle.com/datasets">Find Open Datasets for AI and Research | Kaggle</a></li><li><a href="https://archive.ics.uci.edu/">UCI Machine Learning Repository</a></li><li><a href="https://data.gov/">Data.gov Home - Data.gov</a></li><li><a href="https://www.openml.org/">OpenML</a></li><li><a href="https://paperswithcode.com/datasets">Papers with Code - Machine Learning Datasets</a></li><li><a href="https://datahub.io/">DataHub</a></li><li><a href="https://registry.opendata.aws/">Registry of Open Data on AWS</a></li></ul><p><strong>Ok, what do I do with all this data?</strong></p><p>We need to load the data and analyze it. We need to understand the patterns in the data, its features, its distribution and a whole lot of other jargon which can be told in another blog. But nonetheless for this we shall use,<br><strong>Pandas </strong>— Python’s go-to data manipulation library</p><p>This is for loading our data and doing all the necessary operations on it. We shall use Pandas in tandem with NumPy — Python’s standard numerical library.</p><p>Then we shall analyze our data, we give this process a very fancy name,<br><strong>EDA</strong> — <strong>Exploratory Data Analysis</strong> — a technique where one explores their data using statistical measures, analysis the trends and creates visualizations to understand the distribution of the features of their data.</p><p>For this we use once again Pandas and NumPy. For visualization we shall use Matplotlib and Seaborn.</p><p>EDA is the concept and Pandas is the tool, used in tandem with many other libraries to effectively understand and work with one’s data.</p><h3>How?</h3><p>Best way is doing things practically. I’ll be explaining everything you need from the following Kaggle notebook, follow along! I’ll also provide you the GitHub link with the datasets used and IPython notebook if you want to use other environments for notebooks (Colab, Jupyter etc.).</p><h4>Kaggle Notebook:</h4><p><a href="https://www.kaggle.com/code/susenavenkatesh/a-complete-pandas-and-eda-tutorial">A Complete Pandas and EDA Tutorial ✨</a></p><h4>Git Repo:</h4><p><a href="https://github.com/Susena-V/AI-ML-Coding-Club">GitHub - Susena-V/AI-ML-Coding-Club: Coding Club resources</a></p><h3>Let’s get to it!</h3><p>First steps first, import Pandas</p><h4>IMPORT PANDAS</h4><pre>import pandas as pd</pre><h4>LOAD THE DATA</h4><pre># Load your data here<br>data = pd.read_csv(&quot;/kaggle/input/titanic-dataset/Titanic-Dataset.csv&quot;)</pre><p>(If you guys aren’t using the notebook in Kaggle be careful about the path)</p><p>This function basically reads a CSV file and stores it in a Pandas DataFrame. Pandas DataFrames have some pretty neat features that helps you to manipulate and analyze data. We’ll be looking at a few of them</p><h3>Explore thy data!</h3><h4>Display your data</h4><pre>print(&#39;Displaying the data&#39;) # For those of you unfamiliar with Python this is python&#39;s version of printf()<br>data<br># Some fun facts<br># usually doing this doesn&#39;t yield results<br># Most of the time you need a print statement<br># But the beauty of a python notebook is, if you give a single variable at the end and run the cell, <br># it displays its contents<br># Provided you haven&#39;t given any other variable or print statement after it</pre><p>Output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*THopJKGwGU7PmrZFsqNrug.png" /><figcaption>This is the output, depending on your UI this will slightly change but if you use the same dataset the content will be very much the same</figcaption></figure><p>Display only a few rows</p><pre>data.head(10) # Displays the first 10 rows, If you don&#39;t specify a value it will return first 5 rows (default)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YSWLneLLE-ZIl4Forxy25g.png" /><figcaption>First 10 rows</figcaption></figure><pre>data.tail(15) # Last 15 rows, if number of rows, not specified last 5</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WigmnsjBOs0Or7DiLLSHgA.png" /><figcaption>Last 15 rows</figcaption></figure><h4>Explore your data — some handy functions</h4><pre>data.info() # Gives us basic information about the dataset</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*v_XWAYk88H26ntPVWLjP5g.png" /></figure><pre>data.describe() # Gives us basic numerical measures for numeric datatypes</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L7ttg5ltAzKdZ5evG6HmMQ.png" /></figure><h4>Checking for null values</h4><p>A lot of time, your data may contain null values. We apply the null function and sum function to obtain the number of null values in our data. Refer to the python code snippet below and read the comments (demarcated by #) to understand more about how this works.</p><p>The importance of this is to assess how much data you are missing and what techniques can be used to deal with null values (will be discussed later)</p><pre>data.isnull().sum() # This is called method chaining using two functions sequentially</pre><pre># isnull() - gives boolean values for whether a particular value is null or not<br># if null the value is true<br># sum - it sums up the values in a list/array/column<br># now our column is full of booleans - its sums of the True values (True = 1)</pre><h4>See your columns</h4><p>Get to know your data’s schema and features.</p><pre>data.columns # See all the columns in the data</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ytIsFRb9lOfyL_GI6CBtHg.png" /></figure><p>See individual columns. Now when you use multiple commands together you have to use print. Or else the last command alone will be printed.</p><pre>print(data[&#39;Column_Name&#39;]) # Choose the column you want<br>print(data.Column_Name) # This also works when we don&#39;t have any spaces in the column n<br># Please replace Column name with the actual name of the column<br># &#39;.&#39; is short hand for accessing attributes aka columns - must not conflict with existing attributes</pre><h4>Applying functions on columns</h4><pre>data.Column_Name.func() # Replace with a column and function of your choice</pre><p><strong>Example:</strong></p><pre>for col in data.columns: # iterating through all the columns<br>    print(col, data[col].nunique()) # displaying the number of unique values</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tz8AWdA0ohuHuZQfdRfPdQ.png" /></figure><p><strong>Try this: See the unique values in the Embarked column. </strong><em>Hint — the function you should be using is </em><em>unique()</em></p><h3>Visualization</h3><p>Let’s visualize our data! This is an important part of the data exploration process. For the sake of conciseness certain codes and outputs have been omitted. These are still present in the <a href="#b5bf">notebook</a> given above.</p><p>For visualization we shall be using two libraries primarily — <a href="http://matplotlib.org/">Matplotlib</a> and <a href="https://seaborn.pydata.org/">Seaborn</a>. The both of these are standard Python visualization libraries. Seaborn built on matplotlib is a statistical visualization library.</p><h4>Import the libraries</h4><pre>import matplotlib.pyplot as plt<br>import seaborn as sns</pre><h4>Create a histogram</h4><p>Let us see the distribution of the ages of the passengers.</p><pre>plt.hist(data[&#39;Age&#39;], edgecolor = &#39;black&#39;, color=(0.2,0.7,1)) <br>plt.title(&#39;Distribution of Ages&#39;)<br>plt.xlabel(&#39;Age&#39;)<br>plt.ylabel(&#39;Counts&#39;)<br># you can allow specify the color names, make sure matplotlib supports them though<br># If you don&#39;t mention any color, matplotlib uses the default color</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/0*-A0B83nZDT5o-_dJ.png" /><figcaption>The histogram we plotted using the above code</figcaption></figure><h4>Interpret the histogram</h4><p>You just have to look at the histogram, what do you observe? We can see that it has peaks at Ages 20 and 30. There is another significant peak at 40. What does this mean? Most of the people on the titanic were from the ages 20–40. Young Adults to Middle Aged.</p><h4>Let’s see some survival stats</h4><p>Count of how many survived</p><pre>plt.hist(data[&#39;Survived&#39;], edgecolor = &#39;black&#39;, color=(0.2,0.7,1))<br>plt.title(&#39;Distribution of Survival&#39;)<br>plt.xlabel(&#39;Survived&#39;)<br>plt.ylabel(&#39;Counts&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/0*M5MYefr5W7LmFhAQ.png" /><figcaption>There is a small mistake, the x-axis is supposed to be survival.</figcaption></figure><p><strong>Let us Analyze by Age</strong></p><p>Now if we use every single age the graph will become too cluttered to understand. Let us group the passengers by their age into age groups and then create a plot.<br>We create a simple function for this. We then apply this function to the Age column to create a new column called Age_Category. <br>We use the apply() function provided by pandas to apply the function to our column.</p><pre>data[&#39;Age_Category&#39;] = data.Age # We are creating a column called Age_Category for visualization</pre><pre># Creating a function - this is just going to categorize people based on age - kinda a binning technique<br>def cats(val):<br>    if pd.isna(val):  # Check if the value is NaN<br>        return &#39;NIL&#39; <br>    elif val&lt;=12:<br>        return &#39;Child&#39;<br>    elif val&lt;=19:<br>        return &#39;Teenager&#39;<br>    elif val&lt;=25:<br>        return &#39;Young Adult&#39;<br>    elif val&lt;=43:<br>        return &#39;Adult&#39;<br>    elif val&lt;= 60:<br>        return &#39;MiddleAged&#39;<br>    else:<br>        return &#39;Senior&#39;</pre><pre>data.Age_Category = data.Age.apply(cats) # apply is used to apply a function<br># The dictionary equivalent is a map, where we map the values based on dictionary keys</pre><pre>sns.catplot(<br>x=&#39;Age_Category&#39;, <br>data = data, <br>hue = &#39;Survived&#39;, <br>kind = &#39;count&#39;, <br>palette=&#39;summer&#39;) # the palette is added exclusively for aesthetics</pre><p>We then create a catplot using seaborn</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/0*pIECKciR6Iq786Uv.png" /></figure><p>Let’s analyze by seeing even more parameters…</p><p>Analyze the above Sex wise</p><pre>sns.catplot(<br>x=&#39;Age_Category&#39;, <br>data = data, <br>hue = &#39;Survived&#39;, <br>kind = &#39;count&#39;, <br>col = &#39;Sex&#39;, <br>palette=&#39;spring&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ykPaubvhEsxxPpvw.png" /></figure><p>Analyze by passenger class</p><pre>sns.catplot(<br>x=&#39;Age_Category&#39;, <br>data = data, <br>hue = &#39;Survived&#39;, <br>kind = &#39;count&#39;, <br>col = &#39;Pclass&#39;, <br>palette=&#39;autumn&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rQasY2BvVrhHqzXH.png" /></figure><h3>Cleaning our Data</h3><p>In all our graphs we see a category called NIL. This is because for the passengers whose ages we did not know, we classified their age category as NIL. Your data shouldn’t have any null values. To deal with this we clean our data.</p><p>One can drop null values, the easiest way to deal with them, but we lose a lot of valuable data in the process. We can try to fill the values to mimic the distribution as best we can. This is what we will be doing to the Age Column and the Age_Category column.</p><p>Let us analyze two plots before filling in the missing values.</p><p>Age Distribution Class Wise</p><pre>print(&#39;Age Distribution Class Wise&#39;)<br>sns.catplot(x=&#39;Age_Category&#39;, data = data, kind = &#39;count&#39;, col = &#39;Pclass&#39;, palette=&#39;husl&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2Lh3GOIILGtU5Dcz.png" /></figure><p>Age Distribution Class Wise differentiated by Gender</p><pre>print(&#39;Age Distribution Class Wise differentiated by gender&#39;)<br>sns.catplot(x=&#39;Age_Category&#39;, data = data, kind = &#39;count&#39;, col = &#39;Pclass&#39;, hue = &#39;Sex&#39;, palette=&#39;plasma&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mkNReS0TYQzDjkwU.png" /></figure><p>We can see the Age distribution varies from class to class and also gender wise. Let us group our data class wise and gender wise and then fill in the missing values. Always remember whenever we fill missing values we want to preserve the distribution of the data.</p><pre>data[&#39;Age&#39;] = data.groupby([&#39;Sex&#39;,&#39;Pclass&#39;, &#39;Survived&#39;])[&#39;Age&#39;].transform(lambda x : x.fillna(x.mean()))</pre><p>Now Recompute Age_Category</p><pre>data.Age_Category = data.Age.apply(cats)</pre><p>Plot</p><pre>print(&#39;Age Distribution Class Wise&#39;)<br>sns.catplot(x=&#39;Age_Category&#39;, data = data, kind = &#39;count&#39;, palette=&#39;twilight&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/0*w39E3PSskv3NEW_6.png" /></figure><pre>print(&#39;Age Distribution Class Wise differentiated by gender&#39;)<br>sns.catplot(x=&#39;Age_Category&#39;, data = data, kind = &#39;count&#39;, col = &#39;Pclass&#39;, hue = &#39;Survived&#39;, palette=&#39;cool&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ibb731k9Dwvqdv0e.png" /></figure><p>No more null values and the distribution is preserved. Great!</p><h3>Outlier Analysis</h3><p>Outliers are points that lie outside your data’s distribution, hence the name. To get a surface level understanding think of this, a company has 100 employees, 99 of them earn 1 rupee a month (Inflation’s tough) one employee earns 100101 rupees a month (that’s the CEO). Now compute the average salary of the employees, it comes to 1002. This is way off, most employees earn only 1 rupee a month. The employee with 100101 is the outlier and he skews the mean (average). So we have to eliminate him. How we do it we shall see below.</p><h4>Box Plot</h4><p>We use the box plot to visualize the outliers. The box portion of the graph shows the range of the median values. The part between the whiskers (two horizontal black lines) shows the true distribution. Points outside the whiskers are outliers.</p><p>We shall find the outliers in the Age column. Use seaborn’s boxplot function for this.</p><pre>sns.boxplot(data=data[&#39;Age&#39;], color = (0.8, 0.6,1)) # The points outside the whiskers are outliers</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/0*LJ5wnaCx5yE9pSZh.png" /></figure><h4>Remove the Outliers</h4><p>We are going to be removing the Outliers using IQR — Inter Quartile Range. You can consider it this way — every data follows a distribution, we are cutting the endmost portions cause that is where the outliers lie. Simple everyday example — cutting splitends — except here we are cutting on both ends.</p><p>We compute the IQR of the Age column, then define the upper and lower limit. We finally only consider the values between the upper and lower limit.</p><pre>def iqr(data):<br>    q1 = data.quantile(0.25)<br>    q3 = data.quantile(0.75)</pre><pre>    iqr = q3 - q1</pre><pre>    return iqr, q1, q3</pre><pre>iqr, q1, q3 = iqr(data[&#39;Age&#39;])</pre><pre>upper_limit = q3 + 1.5*iqr<br>lower_limit = q1 - 1.5*iqr</pre><pre>data_cleaned = data[(data[&#39;Age&#39;] &lt;= upper_limit) &amp; (data[&#39;Age&#39;] &gt;= lower_limit)]</pre><pre># This uses boolean indexing, so we consider the indices only where these<br># two conditions hold true.</pre><h4>Visualize the Box Plot of the Cleaned Column</h4><pre>sns.boxplot(data=data_cleaned[&#39;Age&#39;], color = (0.7, 0.6,1)) # The points outside the whiskers are outliers</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/0*Sdw9W0y1MhSGprH4.png" /></figure><p>We have removed the outliers!</p><p>Note that the rows with values outside the IQR range have been removed. So over here to clean our data we are removing some values.</p><h4>Cleaning Part 2 — Removing unnecessary columns</h4><p>When it comes to world of Data Science we encounter something called “Resource Bottlenecks”. This exhibits itself in the form of insufficient computational power. Now size affects this a lot. You want to train something faster — make it smaller. But less data = equals a not very robust model. This is why we keep the data we need and normalize it. We get rid of unwanted data. The normalizing part is for another time. The deleting part — we are doing it now.</p><p>In our case the unnecessary columns are ‘Name’, ‘Ticket’, ‘Cabin’, ‘Embarked’. We don’t gain much information from them</p><pre>data_cleaned.drop([&#39;Ticket&#39;, &#39;Cabin&#39;, &#39;Embarked&#39;, &#39;Name&#39;], axis = 1, inplace = True)</pre><p>axis 1 means columns</p><p>inplace true — this will apply the function on the dataframe rather than on a copy, be careful when using this, if you make a mistake its hard to correct, you will have to run all cells again — the purpose of a Python notebook is avoiding that</p><pre>data_cleaned</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*tnQmgJF51hcq_z85_gKD_Q.png" /><figcaption>We no longer have the columns: ‘Name’, ‘Ticket’, ‘Cabin’, ‘Embarked’. Exercise: Drop the ‘Fare’ column</figcaption></figure><h3>Analysis on Another Dataset</h3><p>We have also done an analysis on the rollercoaster dataset. Every single dataset is unique and needs a different kind of processing for its needs. We have explored some other plots and seen a few other functions. We shall list them below. Their methods and implementations can be viewed in the <a href="https://www.kaggle.com/code/susenavenkatesh/a-complete-pandas-and-eda-tutorial#Structured-Workflow-with-some-more-Functions">python notebook</a> provided (Navigate to section- “Structured Workflow with some more Functions”).</p><p><strong>Pandas methods used: </strong>shape, dtypes, query</p><p>We see renaming of columns, conversion to datatypes, check for null values, check for duplicates</p><p><strong>Plots: </strong>We see KDE, Pairplot, scatterplot, HeatMap</p><p>We also see the Groupby function.</p><h3>Miscellaneous</h3><p>This is also a section in the notebook. Over here we will demonstrate creating a Pandas DataFrame and Saving it. For the sake of clarity and to not clutter this blog, only a few examples will be shown. The rest, implementation and output, can be viewed in the notebook which also provides extensive explanation in its markdown cells.</p><h4>Creating your own DataFrame</h4><pre># Dictionary with student details<br>student_details = {&#39;Names&#39;: [&#39;A&#39;, &#39;B&#39;, &#39;C&#39;, &#39;D&#39;],<br>                  &#39;Roll_no&#39;:[1,2,3,4]}</pre><pre>student_data = pd.DataFrame(student_details) #using DataFrame function to create your own dataframe</pre><pre>student_data</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M6Kf6Fq0ijZQSgOhWlWqRA.png" /></figure><p>View the notebook for merge, concat and pivot functions.</p><h4>Saving your DataFrame</h4><p>After all the hardwork it’s best to store a copy of your cleaned data as a csv either locally or in some storage. This prevents you from having to do the whole process again and thus saves time (and a lot of energy).</p><p>The to_csv creates a csv of your DataFrame.</p><pre>pivot_df.to_csv(&#39;Saved.csv&#39;) # to_csv - converts a DataFrame to a csv file</pre><h3>Why?</h3><p>Now to answer the question — Why? Why do we do all of this?<br>The above sections told us the What and How and subtly referenced the Why. You should be able to answer this question now.</p><p><strong>Why EDA?</strong><br>To <strong>understand our data</strong>. This is crucial as we need to find out the underlying patterns in our to interpret it properly and use it for the task at hand. We find out the distributions, it’s features, whether we need to clean it, if we can extract more information from it and so much more. Understanding your data makes it easier to work with. It is the first step to building a good ML/DL solution. Having a clear picture of what you have helps you in finding a better path to a solution.</p><p><strong>Why Pandas?</strong><br>A convenient library to manipulate our data in multiple ways. This is not the only library we use, we use this with many other libraries such as NumPy, Scikit Learn, Seaborn, Matplotlib etc. Combined they all provide powerful ways one can handle, manipulate, view and understand data.</p><p>So this is it for now. Check out the notebook for some more functions and plots. Keep exploring, don’t stop here. Try this out on a dataset of your choice. Try out more functions not just the ones shown by us. Create your own functions. There’s so much more and we’ve barely scratched the surface, this should serve as a good guide though has it has the fundamentals, a good introductory to Pandas and EDA. Always approach your data with questions and let the functions you run and plots you graph answer those, that’s best way to Explore and Analyze your data.</p><p>Thanks for Reading! Have fun in your AI journey.</p><p>With ❤ <a href="https://medium.com/u/aa2b3a14e38d">Susena Venkatesh Nathan</a> &amp; <a href="https://medium.com/u/37c7e7ad945c">Kipsita</a>, who made their corresponding session a blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f8fa3c428a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>