<?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 Salmon Joy on Medium]]></title>
        <description><![CDATA[Stories by Salmon Joy on Medium]]></description>
        <link>https://medium.com/@salmonjoy?source=rss-55287c8f4445------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*feqWGwZa-fgknxo7dkWqFw.jpeg</url>
            <title>Stories by Salmon Joy on Medium</title>
            <link>https://medium.com/@salmonjoy?source=rss-55287c8f4445------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 08:24:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@salmonjoy/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[Convolutional Neural Networks (CNNs) and MaxPooling: How Machines See the World]]></title>
            <link>https://medium.com/ai-for-the-lazy-genius/convolutional-neural-networks-cnns-and-maxpooling-how-machines-see-the-world-7de616eb2f9b?source=rss-55287c8f4445------2</link>
            <guid isPermaLink="false">https://medium.com/p/7de616eb2f9b</guid>
            <category><![CDATA[cnn]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Salmon Joy]]></dc:creator>
            <pubDate>Fri, 07 Mar 2025 12:27:19 GMT</pubDate>
            <atom:updated>2025-03-07T12:27:19.623Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YPqrboTUyBr5cU0pLXmwZQ.jpeg" /></figure><p>Convolutional Neural Networks (CNNs) and MaxPooling: How Machines See the World</p><p>Alright, so you’ve probably heard about Convolutional Neural Networks (CNNs) if you’ve ever dived into the world of deep learning. They’re the go-to solution for anything related to images — recognizing faces, detecting objects, and even weird stuff like turning your cat into a Van Gogh painting.</p><p>But how do they actually work? How does a bunch of math and code transform pixels into meaningful information? And what’s this thing called MaxPooling? Let’s break it all down, in plain English, without turning it into a math textbook.</p><h3>How CNNs Work: A Dumbed-Down Version</h3><p>Imagine you’re looking at a messy crime scene — say, your kitchen after making spaghetti. You see splashes of sauce, some fallen pasta, and a half-eaten breadstick (probably your roommate’s fault). If you had to describe the mess to someone, you wouldn’t go pixel by pixel. Instead, you’d say, “There’s a big red stain on the counter” or “There are noodles tangled near the sink.”</p><p>That’s exactly how CNNs process images. Instead of analyzing every single pixel separately, they look at patterns — edges, shapes, textures, and objects. This is done through something called convolutions.</p><h3>Step 1: The Convolutional Layer — Feature Detectives</h3><p>A CNN starts by scanning an image with small filters (a.k.a. kernels). These filters move over the image in small steps, looking at tiny sections (let’s say 3x3 pixel grids at a time) and detecting basic patterns like:</p><ul><li>Edges (Where does one object end and another begin?)</li><li>Textures (Is this area smooth or grainy?)</li><li>Shapes (Do these pixels form a line, a curve, or a blob?)</li></ul><p>Each filter in a CNN learns a different thing. One might detect horizontal lines, another might focus on vertical ones, and another might look for corners.</p><h3>How It Works (Simple Analogy)</h3><p>Think of filters like Instagram filters, but instead of making you look hotter, they find patterns. If you apply a black-and-white filter to a selfie, it highlights shadows and contrasts. CNN filters do something similar, except they do it mathematically by applying numbers (called weights) to pixels.</p><p>The result? A bunch of modified versions of your image where only certain features stand out.</p><h3>Step 2: Activation Functions — Deciding What Matters</h3><p>Once we have these filtered images, we don’t want everything — just the important parts. That’s where activation functions come in. The most common one, ReLU (Rectified Linear Unit), gets rid of useless negative values (because we don’t care about inverted colors or irrelevant noise).</p><p>Think of ReLU as an overly picky art critic — it only keeps what it finds valuable and ignores the rest.</p><h3>Step 3: MaxPooling — The Lazy Genius Move</h3><p>Alright, so now we have a bunch of feature maps showing different patterns in our image. But these are still huge. If we processed every single pixel in every feature map, the computation would be insane.</p><p>Enter MaxPooling — the genius lazy move that makes CNNs efficient.</p><h3>What Is MaxPooling?</h3><p>MaxPooling is a downsampling operation that shrinks our feature maps while keeping the most important info. Here’s how it works:</p><ol><li>Take a small window (say, 2x2 pixels).</li><li>Slide it across the image.</li><li>From every window, keep only the biggest value (hence the name Max pooling).</li><li>Discard the rest.</li></ol><p>Why? Because in an image, exact pixel values don’t matter as much as the general structure. Whether an eye has 200 brightness or 210 brightness is irrelevant — the fact that there is an eye is what matters.</p><h3>MaxPooling in Real Life (A Simple Analogy)</h3><p>Imagine you’re taking notes in a class. The professor talks for an hour, but you don’t write everything down — you just note the important stuff. That’s MaxPooling. Instead of keeping every pixel, we keep only the highlights.</p><h3>Why MaxPooling Is So Useful</h3><ol><li>Reduces Computation — The fewer pixels we process, the faster our CNN runs. Less data = less work = happier GPUs.</li><li>Prevents Overfitting — Overfitting happens when the model memorizes images instead of learning general patterns. By reducing the data, MaxPooling forces the network to learn broad patterns instead of tiny details.</li><li>Makes Features More Robust — If an object moves slightly in an image, MaxPooling helps keep its key features consistent.</li></ol><h3>Does MaxPooling Have Downsides?</h3><p>MaxPooling isn’t perfect. Sometimes it throws away too much information. Imagine summarizing a novel by keeping only one sentence per chapter — you’d lose a lot of nuance. That’s why researchers sometimes use alternative techniques like average pooling (which takes the average of all values instead of just the max).</p><h3>Putting It All Together: The CNN Pipeline</h3><p>Let’s go step by step:</p><ol><li>Input Image → Raw pixels.</li><li>Convolutional Layer → Filters detect edges, shapes, and textures.</li><li>ReLU Activation → Keeps only useful features.</li><li>MaxPooling → Shrinks the data, keeping only key features.</li><li>Flattening → Converts the pooled data into a long list of numbers.</li><li>Fully Connected Layer → Makes final predictions (e.g., “This is a cat”).</li></ol><h3>Why CNNs + MaxPooling = Magic</h3><p>CNNs see images like humans do — focusing on patterns rather than raw pixels. MaxPooling compresses information, making CNNs faster and more efficient without losing too much detail.</p><p>That’s why CNNs are behind everything from facial recognition to self-driving cars. Next time you unlock your phone with your face or Google Photos automatically tags your dog, you’ll know there’s a CNN working behind the scenes, scanning and pooling pixels like a digital detective.</p><h3>Final Thought: Are CNNs the Future?</h3><p>CNNs are insanely powerful, but they’re not magic. They need a lot of data and computing power, and they can sometimes make dumb mistakes (like mistaking a dog for a muffin).</p><p>Still, they’ve revolutionized AI. With new techniques like attention mechanisms and transformers, CNNs are evolving fast. Maybe one day, they’ll even recognize your cat in the background of your Zoom calls.</p><p>Thanks for reading — go forth and pool some pixels! 🚀</p><p>I would like to hear your thoughts on AI as our future</p><p>If you like to get these types of content on LinkedIN you can <a href="https://www.linkedin.com/newsletters/7300788113734307840/">be part of my newsletter</a></p><p><a href="https://www.linkedin.com/newsletters/7300788113734307840/">AI for the Lazy Genius | LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7de616eb2f9b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-for-the-lazy-genius/convolutional-neural-networks-cnns-and-maxpooling-how-machines-see-the-world-7de616eb2f9b">Convolutional Neural Networks (CNNs) and MaxPooling: How Machines See the World</a> was originally published in <a href="https://medium.com/ai-for-the-lazy-genius">AI for the Lazy Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Good Fear : The Fear of Regret]]></title>
            <link>https://medium.com/@salmonjoy/good-fear-the-fear-of-regret-8d2d2c2a4ea4?source=rss-55287c8f4445------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d2d2c2a4ea4</guid>
            <category><![CDATA[purpose-of-life]]></category>
            <category><![CDATA[follow-your-passion]]></category>
            <category><![CDATA[intuition]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[inner-voice]]></category>
            <dc:creator><![CDATA[Salmon Joy]]></dc:creator>
            <pubDate>Sat, 10 Feb 2018 07:10:34 GMT</pubDate>
            <atom:updated>2018-07-01T07:26:41.079Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_l9s4rjLtMHlYBGpUfA4-w.jpeg" /></figure><p>Some 5 to 6 months ago, one morning, I remember my dad reading out a news to me from the newspaper.</p><p>The news was of a very traumatic incident. This is how it goes,</p><blockquote>A lady and her 1-year-old child was enslaved by the ISIS fanatics. After they enslaved them, they separated the child from the mother and held the mother in a cellar. She was starved for 3 days. After 3 days, she was given some meat served with rice to eat. Due to unbearable hunger she ate it. When she finished, the fanatics said to her, “We cooked your 1-year-old son that we took from you and that is what you ate”</blockquote><p>I felt miserable hearing that. I believe even you too are feeling the same.</p><p>In fact, you may not even be in a state of mind to read ahead, but if you decided to do so you can have a higher chance of avoiding such a similar terrible situation in your life.</p><p>Yes, you read it right.</p><p>It can happen even to you in the most unexpected way</p><p>And like the mother in the incident, for most people, it is too late when they realise it.</p><p>I am pretty sure you are having a hard time figuring out what am I trying to say.</p><p>Don’t worry.</p><p>From this point things will start making sense to you.</p><p>Now just imagine being in the place of that mother and think what it might have felt like to be in such a dreadful situation (I want you to seriously do it or else you won’t get the point I am trying to make).</p><p>You will realize she would have gone through a mixture of different emotions, i.e Anger, Regret, Pain, Helplessness and Guilt.</p><p>And I believe you will agree with me that no one will be able to describe the magnitude of these emotions and feelings one will go through, finding him/her in such a situation.</p><p>The reason I told you this incident and made you realize the depth of it is because I wanted to warn you that you will experience something similar to this if you ignore the voice of your inner child.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PCkoIt1ZKzldGlNRTNU6Kw.jpeg" /></figure><p>See, everyone of us has a child inside of us who knows what you love to do. This child constantly keeps on screaming to you the great things you want to do but you keep ignoring because it sounds impractical to you.</p><p>The child tells you how you can become the world’s well known football player or cricket player or swimmer or gymnast if you decide to leave the system you are currently stuck in and start working towards your dream. The child is constantly reminding you the wonders you can do in the music industry or the film industry or in a particular art form if you stop doing what others expect you to do and start doing what you love to do. The child wants you to go for that world-changing invention or discovery you want to do, by overcoming your fears of failure. The child is pleading you to leave that job you hate and execute the idea you have in your mind, which will completely transform the lifestyle of people. The child inside you tells you to start that organization, you always wished for, with a vision of spreading love and humanity by helping the underprivileged but you hesitate because everyone around you said it is not possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4-kkEnJc82Jrs9rRUVup5Q.jpeg" /></figure><p>Now, when this child inside you keeps on telling you something which does not align with your current habits and which pushes you out of your comfort zone you start separating from that child inside you (Just like how the fanatics separated the child from the mother). You start moving far away from him/her.</p><p>Soon a shield of Ignorance starts forming around you (Similar to how the mother was held in a cellar) making the inner child’s sound less audible to you.</p><p>Over the time your fear and greed starts to grow. As it grows, it keeps on feeding on your inner child. Slowly and slowly the child starts dying. And it is only at the age of , say, 70 or 75 or 80 that you will realise what you did. And that is when you will have the same experience as the mother in the above mentioned incident.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vMLipcswIcrS3EoLpp_87A.jpeg" /></figure><p>You will be filled with the feeling of Anger, Regret, Pain, Helplessness and Guilt. You will wish to have one more chance to start over from the beginning and live by listening to the child. But unfortunately it would have been too late by then.</p><p>If you have acknowledged whatever I have said till now and have let it sink deep inside you then you will start feeling, what I call,</p><blockquote>The Good Fear - Fear of Regret</blockquote><p>Reminding yourself the regret you are going to have (by not listening to your inner child) when you are on your deathbed will cause the Good Fear come into the picture.</p><p>The Fear of Regret will always make you turn towards your inner child to hear his/her opinion before taking the decisions in life and act accordingly. That way you will remain connected with your inner child throughout your lifetime. And most importantly, you will start working towards the PURPOSE of your life.</p><p>At this moment, as we have reached to the end of this article I want you to listen to your inner child. Connect with him/her.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TKDugZn-gU-6ZPLznSWQSA.jpeg" /></figure><p>Now this may take some time if you have moved far away from him/her but eventually you will start hearing. So be patient and have the determination to hear. Slowly you will start connecting with him/her.</p><p>And as you listen don’t let any thought of worry come into your mind. Just listen carefully to what he/she wants to say to you and start living your dream</p><blockquote>Do let me know your thoughts about this article in the comments</blockquote><blockquote>Share with your friends and families so that they understand the importance of connecting with their inner child</blockquote><blockquote>If you like to read more such articles you can follow me here - <a href="https://medium.com/u/55287c8f4445">Salmon Joy</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d2d2c2a4ea4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>