<?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 Sunny Singh on Medium]]></title>
        <description><![CDATA[Stories by Sunny Singh on Medium]]></description>
        <link>https://medium.com/@sumit.work.connect?source=rss-bc2f31b0b1a0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NSwdCd1HE0goWu6zjAWD1w.jpeg</url>
            <title>Stories by Sunny Singh on Medium</title>
            <link>https://medium.com/@sumit.work.connect?source=rss-bc2f31b0b1a0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 10:09:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sumit.work.connect/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[The Man Behind the Door: What the Story of Anup Nair Tells Us About Ourselves]]></title>
            <link>https://medium.com/@sumit.work.connect/the-man-behind-the-door-what-the-story-of-anup-nair-tells-us-about-ourselves-736274c8db91?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/736274c8db91</guid>
            <category><![CDATA[society]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[human-connection]]></category>
            <category><![CDATA[loneliness]]></category>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Tue, 01 Jul 2025 17:35:12 GMT</pubDate>
            <atom:updated>2025-07-01T17:35:12.415Z</atom:updated>
            <content:encoded><![CDATA[<p>In the heart of Mumbai — a city that never stops moving — one man slowly slipped into complete isolation.</p><p>Anup Nair, a 55 year-old computer programmer, wasn’t missing in the traditional sense. He was there — behind a locked door in his apartment — just not living.</p><p>For three long years, he had no interaction with the outside world. No phone calls. No conversation. No visitors. His only connection to the world was through a food delivery app. That was the extent of his social life.</p><p>And nobody truly noticed — not enough to reach him. Not enough to open that door.</p><h3>The Life of Anup Nair: A Case Study in Collapse</h3><p>Anup wasn’t a drifter. He was educated, skilled, a man with technical background, living in one of India’s busiest metros.</p><p>But his personal life was hollowed out by grief and solitude:</p><p>He never married.</p><p>His parents passed away a few years ago.</p><p>His elder brother had died over two decades earlier.</p><p>He had relatives, but he had trust issues and chose not to stay in touch.</p><p>His neighbors occasionally checked in. Some even tried to clean his flat. But he declined help. Inside that apartment, what remained was heartbreaking: piles of trash, broken furniture, human waste, rotting disorder. His health was deteriorating. He had a leg infection. The space wasn’t just messy — it was collapsing with him.</p><p>A man once fully part of the system — working, earning, eating — became invisible while still present.</p><h3>Why Did This Happen?</h3><p>Because Anup was depressed.</p><p>Because he was alone.</p><p>Because his pain was invisible in a world too distracted to notice.</p><p>We think depression is crying. That burnout is dramatic. But often, it’s the opposite — it’s silence. It’s detachment. It’s locking the world out because it doesn’t feel safe anymore.</p><p>His life didn’t fall apart in one day. It eroded slowly, layer by layer — and no one stopped the decay.</p><h3>The Illusion of a Connected World</h3><p>We live in a hyperconnected era — 5G networks, Zoom calls, smart phones, social media timelines. And yet, <strong>a man in Mumbai was completely alone</strong> <strong>for 3 years</strong>, and we couldn’t reach him. That’s not a glitch in his story — that’s a flaw in ours.</p><p>Connection today is surface-level. We scroll, swipe, like and move on. But true connection — the kind that sees suffering, the kind that checks in — that’s rare. We’ve built a world where people are everywhere but presence is nowhere.</p><h3>Judgement Over Understanding</h3><p>Often when we see someone withdrawing, failing to respond, living differently — we judge.</p><p>We ask:</p><p><em>“What’s wrong with him?”</em></p><p><em>“Why is he like this?”</em></p><p><em>“Why doesn’t he just get help?”</em></p><p>But few ask:</p><p><em>“What pain is he carrying?”</em></p><p>“<em>When was the last time someone listened to him — really listened?”</em></p><p>Anup didn’t need diagnosis first. He needed <strong>connection. </strong>Someone to say, <strong><em>“I’m here. I see you.”</em></strong></p><h3>Our Collective Responsibility</h3><p>This story isn’t just about family. It’s not just about mental health professionals. It’s about us — as a society, as neighbors, as humans. We’ve created a world where people have to scream to be heard — and even then, we scroll past. But some don’t scream. They retreat. They disappear behind closed doors, both physically and emotionally.</p><p>That’s when we need to be more than watchers. We need to reach in. Because no matter how advanced we become as a society, if we lose the ability to care for one another at the most basic human level — we’ve failed.</p><h3>What Can We Do?</h3><p>It starts small:</p><p>Check in on that quiet colleague.</p><p>Knock on your neighbor’s door, not just digitally but literally.</p><p>Talk to your delivery guy. Greet the building guard.</p><p>Build community, not just connections.</p><p>Mental health awareness isn’t just for therapists. It’s for friends. For co-workers. For you and me.</p><p>You don’t have to solve someone’s problem. Just let them know they’re not alone in it.</p><h3>Final Reflection: One Shut Door Shouldn’t Stay Silent for 3 Years</h3><p>Anup Nair is not just one man. He’s a symbol — of loneliness, of a world too busy, of the quiet breakdowns happening all around us. His story should haunt us. But more than that, it should move us.</p><p>Because the next Anup might be in the flat next door. Or in your office. Or maybe … even in you.</p><p>Let’s start talking. Let’s start listening. Let’s start noticing.</p><p>Before the door locks again.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=736274c8db91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Lie of ‘One Day’]]></title>
            <link>https://medium.com/@sumit.work.connect/the-lie-of-one-day-ab4f5ac55c9e?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab4f5ac55c9e</guid>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[live-in-the-moment]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[self-growth]]></category>
            <category><![CDATA[mindfulness]]></category>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Wed, 18 Jun 2025 19:00:26 GMT</pubDate>
            <atom:updated>2025-06-18T19:00:26.419Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“One day I’ll finally slow down.”</em></p><p><em>“One day I’ll take care of what truly matters.”</em></p><p><em>“One day I’ll live the life I actually want.”</em></p><p>But what if that “One day” never comes?</p><h3>The Real Story That Changed Me</h3><p>Recently, I came across a story that stopped me cold. A pilot — dedicated , loving, hard-working — died in an accident. He had long planned to quit his job and go home to take care of his ailing father. He wasn’t running away from responsibility, he was running towards love. But he kept saying, “One day.”</p><p>That day never came.</p><p>His intentions were pure. His love was real. But life — unpredictable, raw, and indifferent to plans — had it’s own way. And just like that, “someday” expired.</p><p>That story isn’t rare. It’s the silent truth behind many of our regrets.</p><h3>The Trap of ‘Later’</h3><p>We are all caught in it. The loop.</p><p><em>“Let me just finish this degree.”</em></p><p><em>“Let me save a bit more.”</em></p><p><em>“Let me get a promotion, then I’ll live.”</em></p><p>But in doing so, we slowly drift into a life we never consciously chose — one built not from the heart, but from obligation, fear, and invisible timelines.</p><p><em>We put off peace like it’s a luxury. We postpone joy like it’s a reward. We delay presence like it’s optional.</em></p><h3>Five Brutal Truths Behind the ‘One Day’ Myth</h3><h4>1. It Costs Too Much</h4><p>We don’t realize the price until it’s too late. Missed time with parents, unlived dreams, unspoken words. The cost of waiting is not just opportunity — it’s life.</p><h4>2. We Designed a Loop We Can’t Exit</h4><p>We wait for financial security before joy, clarity before action, perfection before love. But the loop never ends. Because there is always another “if” and another “then.”</p><h4>3. Time is a Man-Made Concept</h4><p>There was no clock when the Earth began, no calendar when humans first walked. Time was invented — awareness was given. We built systems, then we forgot we were the creators.</p><h4>4. We Don’t Need to Find Purpose — We Need to Feel It</h4><p>You don’t have to chase your purpose across continents or through promotions. It’s not hiding. It’s already inside you. In your breath. In your presence. In your kindness.</p><h4>5. The Entire Lie is Build on Anticipation</h4><p>We think peace is a destination. But that belief is a trap. “One day” is just fear with lipstick. It keeps you chasing and waiting, when life is already happening — right now.</p><h3>Why Do We Still Wait?</h3><p>Because we’re scared.</p><p><em>Scared that if we stop pushing, we’ll fall behind.</em></p><p><em>Scared that if we choose joy now, we’ll miss something bigger later.</em></p><p><em>Scared that this — this moment, this version of ourselves — isn’t enough.</em></p><p>But the truth is: <em>this moment is all we ever had.</em></p><p>And it’s not just enough —<em> it’s everything.</em></p><h3>A Mirror We All Need</h3><p>When people are dying, they don’t ask for their LinkedIn stats.</p><p>They ask for time.</p><p>Time with loved ones. Time in peace. Time to feel.</p><p>But we don’t need to wait until then to wake up.</p><p><em>Life isn’t lived on the horizon. It’s lived in the soil beneath our feet.</em></p><h3>So What Can We Do?</h3><ol><li>Pause the Chase — just for a while.</li><li>Call someone you love — even if it’s awkward.</li><li>Do something small that brings you joy today — no agenda.</li><li>Look around and ask: <em>What beauty am I ignoring because I’m too busy preparing for “one day”.</em></li></ol><h3>The Final Truth</h3><p>“One Day” is the prettiest lie ever told.</p><p>It gives us hope — but steals our presence.</p><p>It sounds like wisdom — but feeds our fear.</p><p><strong><em>The life you want isn’t waiting. It’s whispering — right now.</em></strong></p><p>And the door to it?</p><p>It doesn’t open later.</p><p>It opens <em>inward.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab4f5ac55c9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Should Really Matter: A Human Reflection]]></title>
            <link>https://medium.com/@sumit.work.connect/what-should-really-matter-a-human-reflection-ff7e10b9683d?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff7e10b9683d</guid>
            <category><![CDATA[life]]></category>
            <category><![CDATA[spiritual-growth]]></category>
            <category><![CDATA[self-reflection]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[philosophy]]></category>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Tue, 17 Jun 2025 17:53:40 GMT</pubDate>
            <atom:updated>2025-06-17T17:53:40.767Z</atom:updated>
            <content:encoded><![CDATA[<p>In a world spinning faster than ever, we must ask: What should really matter to us as human beings?</p><p>Not just as professionals, consumers, or citizens — but as souls in fragile bodies, living brief, uncertain lives.</p><h4><strong>Presence — The Only Real Time Is Now</strong></h4><p><em>“ A flower doesn’t think about yesterday or tomorrow. It just blooms.”</em></p><p>The past and future don’t exist. They are echoes and imaginations. Yet most of us live in trauma or anxiety, forgetting that life happens only in the present moment. Being present — with ourselves, with others, with life — is the foundation of peace and joy. We often live like the past is still happening and the future is already here but in truth — past is just a collection of mental pictures and future is just a projection based on fear or hope. <em>“You can’t breathe yesterday’s air. You can’t breathe tomorrow’s. You only have this breath — right now.”</em></p><p>Yet most of us are stuck in cycles: regretting what we did or didn’t do or fearing what might happen or chasing what could be. And in doing so, we miss the only moment where life actually happens: this one. Why are we restless? Why, even after getting the job, the house, the relationship, do we still feel uneasy? Because our mind is elsewhere. Presence isn’t just about being physically somewhere — it’s about being whole, awake, alive to what is. When you are present: you hear beyond words, you eat with gratitude, you love more deeply, you feel what needs to be felt — and that’s how healing begins.<em> “Peace is not found in a silent place. It’s found in a silent mind.”</em></p><p>Presence makes time slow down. Notice, how time flies when you are distracted — days vanish, years blur. But when you are truly present — watching a sunset, holding someone’s hand, praying, creating — time stretches. It feels fuller, richer, more real. <em>“Presence doesn’t make life longer, but it makes life deeper.”</em></p><p>When you’re present, the masks fall. You start noticing: what you’re really feeling, what you’re running from and what actually matters. This is why people avoid presence — because <em>it reveals what is, not what we pretend</em>.</p><p><em>Presence is a practice, not a perfect state</em>. You don’t have to be a monk to be present. You just need to return to now — again and again. Presence is: closing your eyes and taking 3 deep breaths, putting down your phone and looking someone in the eye, drinking water as if it matters — because it does. It’s not about always being calm — it’s about always coming back. <em>“The present moment is the only place where change, healing, and joy are possible -Thich Nhat Hanh”</em></p><p>In a chaotic, overthinking, overstimulated world… Presence is rebellion. Presence is power. Presence is love. If we could all just be here, right now — We’d be more human. More honest. More alive.</p><h4>Truth to Self — The Doorway to Freedom</h4><p>Those who aren’t true to themselves can never be fully true to others. <em>Self-honesty is self-love —</em>it’s a deep form of self-respect, and the quiet teacher that leads us towards wisdom and clarity. When we know who we are, we stop pretending. We live lighter, clearer, and kinder.</p><p>Being true to others is often easier — it’s visible, social, rewarded. But being true to yourself? That’s deep, silent, invisible — only you know if you are lying to yourself. We avoid it because — it asks us to confront things we don’t want to see, it challenges our ego and image, it might require change — and change is scary. So, we hide, behind roles, labels and noise. But deep down, the soul always knows when you’re not being real with yourself. <em>“You can lie to the whole world, but not to the person in the mirror.”</em></p><p>What happens when we aren’t true to ourselves? We live out someone else’s life plan. We feel lost, even in success. We attract relationships based on performance, not truth. We carry silent shame and unrest, even when everything looks fine. This is why people wake up in their 30’s, 40’s, 50’s feeling empty, confused, tired — because they have been running someone else’s race. <em>“Inauthenticity is exhaustive.”</em></p><p>Peace is not about external silence — it’s about inner alignment. When your thoughts, words, and actions are in sync with who you really are: You stop pretending. You stop comparing. You stop running. You stand still — and in that stillness, you find peace. This is why the happiest people aren’t always the richest or loudest — they are the ones who are most aligned with themselves. When you are honest with yourself, you: Know what you want — not what others expect, Choose relationships that nourish, not drain, Make decisions faster, with less regret, Understand your emotions instead of suppressing them. <em>“Self-truth is a compass. Without it, we drift.”</em></p><p><em>“I matter enough to live authentically. I won’t betray my own heart to fit in or be liked.” </em>When you live like that: You love more purely. You forgive more easily. You attract people who see and value the real you. This is also the seed of self-love — not superficial affirmations, but deep inner trust. It’s a personal journey — No one can judge it. One you know: if you are hiding, if you are settling, if you’re chasing goals you don’t even believe in. It’s a personal mirror — one that reflects only when you dare to look. But once you do, that mirror becomes your greatest teacher.</p><p><em>“ A truthful life is a peaceful life. A truthful heart is a fearless heart And a truthful self is the beginning of a fulfilled soul.”</em></p><h4>Kindness — The Currency of Humanity</h4><p>In a society obsessed with status, power, and cleverness, we forget the simplest force: <em>Kindness.</em></p><p>As you said: <em>“Intelligence without kindness is manipulation.” </em>It costs nothing to be kind. And yet, it’s the thing people remember most when they’re in pain, or when they feel seen. A kind word. A listening ear. A shared moment. These are the bricks that build real community.</p><h4>Simplicity — When Material Ends, Truth Begins</h4><p><strong>The illusion of ownership: </strong>We come empty-handed and leave the same. God — the ultimate engineer — made it clear: the planet is yours to use, not to own.</p><p>Material things matter — but only to the extent that they serve your needs, not consume your soul. <em>“He who knows he has enough is rich” — Loa Tzu</em></p><h4>Connection — With Others, With Life</h4><p>We were not meant to live alone. Connection is not luxury — it’s a need. Real human presence — being truly with someone — can save lives. We must return to the tribal, communal, compassionate way of living. It’s not a weakness. It is wisdom.</p><h4>Peace — The Silent Revolution</h4><p>This world is chaotic because inner wars spill outward. If more people focused on healing within, the world would soften. Peace isn’t passive. It’s powerful. And it begins with each of us — in small daily choices.</p><h4>Closing Truth — Embrace Life, Gracefully</h4><p>Life is limited. That’s what make it precious. We must live gracefully — not with fear, but with reverence. Not as rulers, but as caretakers. Not as competitors, but as companions. In the end, what should really matter is this:</p><p><strong><em>“Did we love deeply, live truly, and leave the world softer than we found it?”</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff7e10b9683d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Love or Convenience? Redefining What It Means to Truly Connect]]></title>
            <link>https://medium.com/@sumit.work.connect/love-or-convenience-redefining-what-it-means-to-truly-connect-17d14d6ed118?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/17d14d6ed118</guid>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Wed, 30 Apr 2025 18:06:44 GMT</pubDate>
            <atom:updated>2025-04-30T18:06:44.547Z</atom:updated>
            <content:encoded><![CDATA[<p>In a world driven by instant gratification, scrolling feeds, and filtered perfection, love has started to lose its essence. Today, relationships are often built on convenience — what fits into someone’s lifestyle — rather than emotional depth or real connection. But love, in its truest form, is not about timing or ease. It’s a natural force, something that flows without being forced — a feeling that grows, demands patience, and sometimes, even pain.</p><h4><strong>Love as a Natural Reaction, Not a Transaction</strong></h4><p>Love isn’t something you decide to feel. It’s a chemical, emotional, even a spiritual reaction that draws you towards another being. It pushes you to care, to do, to give — without expecting anything in return. It’s not an obligation, it’s a spontaneous choice. Today, however, love often gets reduced to what someone can offer materially, socially or emotionally, in the moment. It’s like choosing a subscription plan — whatever’s most convenient and requires the least work.</p><h4>The Rise of Convenient Relationships</h4><p>Modern dating often reflects more of a contract than a connection. Two people are together because their routines align, their location make it easy, or their lifestyle don’t clash — until they do. When challenges arise, or when distance comes into play, many people bail. And soon after, they find a “better fit”. But love isn’t a job application. You don’t just replace someone because the conditions change.</p><p>This behavior shows how convenience has replaced commitment, and how emotional shortcuts have taken the place of actual intimacy.</p><h4>Where Vulnerability Fits In</h4><p>One reason relationships lack depth today is because people avoid being seen — truly seen. Vulnerability isn’t fashionable. There’s is a fear that showing too much honesty or emotion might make one seem weak, less independent, or less desirable. But without vulnerability, there is no emotional glue. If you can’t open up to someone, how can you grow with them? Still, in today’s world, opening up feels risky — because everyone is so focused on appearing perfect instead of being real.</p><h4><strong>Social Media, Performance &amp; Comparison</strong></h4><p>Relationships are now also shaped by the need to perform happiness online. A happy couple post becomes more important than a real conversation. Validation comes from likes, not from emotional check-ins. People chase feelings that look good in a caption, but that may lack emotional substance behind the scenes. The result? Shallow connections, performative gestures, and partners that are replaceable.</p><h4>Redefining Love for Ourselves</h4><p>If love is to mean anything again, we have to take it back from trends, from filters, from convenience. Love is raw, imperfect, sometimes inconvenient — but always worth it when it’s real. It requires us to slow down, to understand rather than react, to be open even when it’s hard. It’s not about finding someone who fits perfectly into your current lifestyle — it’s about growing together and embracing discomfort as part of the bond.</p><h4>Unseen, Unshared, But Still Real</h4><p>The irony is, real love often requires the very things we fear most: patience, pain, and letting go. I’ve seen people walk away from something beautiful — not because it lacked love, but because it demanded effort. We confuse freedom with detachment and love with convenience. But sometimes, the most loving thing you can do is release someone — not out of indifference, but out of deep respect. That kind of love doesn’t scream for attention; it doesn’t need a stage. It lives in quiet loyalty, in forgiveness, in the way you still wish them well when they’re no longer yours. And despite the noise of modern romance, that kind of love still exists — unposted, unfiltered, and often unseen — but it’s there. Waiting to be felt, not just flaunted.</p><p>“In short — <strong>Real love sees the whole of you — the messy, the unsure, the healing — and stays anyway, or leaves kindly.”</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17d14d6ed118" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Scikit-learn Simplifies the Machine Learning Process and Why We Need It]]></title>
            <link>https://medium.com/@sumit.work.connect/how-scikit-learn-simplifies-the-machine-learning-process-and-why-we-need-it-c6da1f8205fb?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6da1f8205fb</guid>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Tue, 29 Apr 2025 17:16:23 GMT</pubDate>
            <atom:updated>2025-04-29T17:16:23.547Z</atom:updated>
            <content:encoded><![CDATA[<h4>How Scikit-learn Makes ML Feel Effortless</h4><p>What if you could build powerful machine learning models in just a few lines of code?</p><p>That’s exactly what <strong>Scikit-learn</strong> makes possible.</p><p>Here, are the 15 important and must known functions in scikit-learn.</p><pre>1. train_test_split() - from sklearn.model_selection.<br>                        Splits the data into training and testing set.<br><br>2. fit() - used with all estimators like LogisticRegression(), etc.<br>           Trains the model on the dataset.<br><br>3. predict() - predicts outcome using the model.<br><br>4. score() - returns accuracy for classification and R sqaure for Regression.<br><br>5. classification_report() - from sklearn.metrics.<br>                             Gives precision, recall, f1-score, support.<br><br>6. confusion_matrix() - from sklearn.metrics<br>                        Computes confusion matrix.<br><br>7. cross_val_score() - sklearn.model_selection.<br>                       Performs cross validation score.<br><br>8. GridSearchCV() - from sklearn.model_selection.<br>                    Hyperparameter tuning using Grid Search<br>                    with cross validation.<br><br>9. StandardScaler() - from sklearn.preprocessing<br>                      Standardize features with mean = 0 and sd = 1<br><br>10. SimpleImputer() - sklearn.impute<br>                      fills missing values.<br><br>11. SelectKBest() - sklearn.feature_selection<br>                    Selects top K features.<br><br>12. PCA() - sklearn.decomposition<br>            Reduces dimensionality via Principal Component Analysis.<br><br>13. Pipeline() - sklearn.pipeline<br>                 Chains multiple processing steps together.<br><br>14. KFold() - sklearn.model_selection.<br>              Manual k-fold cross-validation splits.<br><br>15. make_pipeline() - sklearn.pipeline<br>                      Simplifies pipeline creation without naming steps.<br></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6da1f8205fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[India’s Industrial Struggle: Resources, Vision, and the Missing Link]]></title>
            <link>https://medium.com/@sumit.work.connect/indias-industrial-struggle-resources-vision-and-the-missing-link-26fd080ff92e?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/26fd080ff92e</guid>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Sun, 27 Apr 2025 06:20:56 GMT</pubDate>
            <atom:updated>2025-04-29T17:18:26.600Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why India, Despite Having Abundant Resources and Talent, Struggle to Become a Global Manufacturing and Industrial Hub</h4><p>We have <strong>land</strong>, but poor land reforms. We have <strong>money</strong>, but financial systems are limited compared to other markets. We have <strong>human resources</strong>, but mismatch of skills. We have <strong>technology</strong>, but tech-transfer from labs to market is weak. We have <strong>visionaries,</strong> but bureaucratic hurdles crush dreams. <strong>Resources are there, but balance is missing</strong>.</p><p>In short — <strong>All ingredients are there, but the chef is confused and kitchen is messy.</strong></p><p>South Korea and Japan rebuilt themselves right after WWII. China opened up in 1978. We brought LPG Reforms(Liberalization, Privatization &amp; Globalization) in 1991 as we were busy dealing with socialism, wars, internal chaos till 1991. So we started 20–30 years late. In global economics, that’s like missing 3 full generations of innovation.</p><p><strong>Better late than never</strong>. India now has <strong>the chance to leapfrog </strong>if it fixes the ecosystem.</p><p>We <strong>lack Proper Industrial Ecosystem.</strong> Let’s understand this with an example. Say, if you setup an electronics factory in China: you get parts from the next street, workers are trained nearby, government clears your file in 1 month and ports, roads and logistics are — world class. Now, let’s say, In India — you may have to import parts, train raw workers yourself, face 10 government departments and logistics can delay shipping.</p><p><strong>This drains enthusiasm and money fast. </strong>Without a strong <strong>industrial chain</strong>, you can’t become a hub.</p><p>I also want to highlight, the <strong>Mindset Issues (Fear of Failure).</strong> You want to start a startup? Relatives be like: “<em>Beta, job kyu nahi karte? Stable naukri lelo.” </em>You fail? Society be like: “<em>Dekha? Humne pahle hi bola tha.”</em></p><p>In the West and even in China now — <strong>failures are badges of experience</strong>. In India — <strong>failures are seen as shame. </strong>In short<strong> — no risk = no innovation = no big wins.</strong></p><p>You must have heard of <strong>Shenzhen — The Miracle City</strong>. In 1979, Shenzhen was a small fishing village with a population of barely 30,000 people. Deng Xiaoping picked it as <strong>China’s first Special Economic Zone (SEZ)</strong>. The government gave <strong>huge tax benefits, easy land access, and very low regulation</strong> to attract factories and foreign investment. Companies from Hong Kong, Taiwan, and later USA, Japan started building factories there — electronics, garments, toys, etc. In 20 years, Shenzhen became the electronic capital of the world. You name it — iPhones, drones, smartwatches — everything is manufactured there.</p><p>India also announced SEZ policies in 2005. But land acquisition was messy, environmental clearances were slow, and policies delayed things. Our SEZs (like Noida, Mundra, etc.) never became true <strong>“manufacturing hubs” </strong>like Shenzhen — many just became real estate projects.</p><p>In short — “<strong>While Shenzhen became the symbol of China’s manufacturing rise, India’s SEZ dreams got stuck between policies, protests, and poor implementation. It was never about lack of resources — it was about lack of decisive action and trust in entrepreneurs</strong>.”</p><p>Let me tell you a short story — <strong>Rise of Chaebols. </strong>In 1960s, South Korea was dirt poor after Korean war. Government partnered with private companies (Samsung, Hyundai, LG) — called Chaebols — gave them cheap loans, subsidies, export push and they heavily focused on <strong>manufacturing shipbuilding and electronics</strong>. Result? Today, South Korea is a <strong>$ 1.7 trillion economy</strong> with global brands.</p><p>India is also trying something similar with PLI Scheme (Production Linked Initiatives) for sector like electronics, pharma and auto. Companies like Tata Electronics, Reliance, Vedanta-Foxconn are getting support to build electronics and semiconductors.</p><p>In short — “<strong>India has launched its PLI schemes, but still it must go beyond subsidies — it needs a long term policy like South Korea’s Chaebol model.”</strong></p><p>I would also like to give an example of <strong>New Manufacturing Hub — Vietnam. </strong>In the last 15 years, Vietnam opened its economy, signed free trade agreements (FTA) with US, EU, ASEAN. It built industrial parks, gave land at cheap rates, simplified business laws. Giants like Samsung, Apple, Nike shifted massive production from China to Vietnam.</p><p>India is also now focusing on Make in India, Ease of Doing Business, building industrial corridors like — Delhi-Mumbai Corridor, Chennai-Bangalore corridor and we got wins also, like Apple started assembling iPhones in India (by Foxconn, Pegatron, Wistron), Samsung built one of its largest phone factories in Noida.</p><p>In short — <strong>“While Vietnam moved fast to capture manufacturing fleeing China, India is still untangling red tape.”</strong></p><p>India woke up late but now is on the right track. However, compared to how fast and boldly China, South Korea, and Vietnam moved, India’s movement is still measured, bureaucratic and often risk-averse. To truly become the world’s factory, India must fix — mindset + policy + execution speed.</p><p>India’s time isn’t tomorrow — it’s NOW. But only if we dare to dream, dare to risk, and dare to build.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26fd080ff92e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning Life Cycle: Basics You Must Understand]]></title>
            <link>https://medium.com/@sumit.work.connect/machine-learning-life-cycle-basics-you-must-understand-c35240b0d105?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c35240b0d105</guid>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Sat, 26 Apr 2025 15:19:37 GMT</pubDate>
            <atom:updated>2025-04-26T15:19:37.417Z</atom:updated>
            <content:encoded><![CDATA[<p>When we talk about building a machine learning model, it’s not just about feeding some data into an algorithm and calling it a day. There is an entire journey behind the scenes — from understanding a business problem to deploying a working model into the real world. This journey is what we call <strong>Machine Learning Lifecycle</strong>.</p><p>It’s a step by step process that helps turn raw data into smart, useful systems. Let’s look at various phases of Machine Learning Lifecycle.</p><ol><li>Problem Definition</li><li>Data Collection</li><li>Data Cleaning and Preprocessing</li><li>Exploratory Data Analysis and Visualization</li><li>Feature Engineering and Selection</li><li>Model Selection</li><li>Model Training</li><li>Model Evaluation and Tuning</li><li>Model Deployment</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jMR0-AuuqJXEImQGkDniZw.png" /></figure><h4><strong>Problem Definition</strong></h4><p>Here we need to <strong>collaborate</strong> with stakeholders and partners to understand and <strong>define business problem</strong>. We must clearly write down the <strong>objectives</strong>, <strong>desired outcomes</strong> and <strong>scope of the work</strong>. It forms the solid foundation for ML process by framing the problem comprehensively.</p><h4><strong>Data Collection</strong></h4><p>Basic features of data collection are <strong>Relevance</strong>, <strong>Quality,</strong> <strong>Quantity</strong> and <strong>Diversity</strong>. Collect data that is relevant to the defined problem and include necessary features. We must ensure data quality by considering factors like accuracy and ethical use. To train a robust model, we must gather sufficient data volume and also must include diverse datasets to capture a broad range of scenarios and patterns.</p><h4><strong>Data Cleaning and Preprocessing</strong></h4><p>We must clean data before preprocessing to solve issues such as missing values, outliers and inconsistencies in the data. We should standardize formats, scale values and encode categorical variable for inconsistencies. Here, data should be well organized and prepared for meaningful insights.</p><h4><strong>Exploratory Data Analysis (EDA) and Visualization</strong></h4><p>Use statistical and visual tool to explore patterns in data. Identify underlying patterns, trends and potential challenges in the dataset. Our aim here is to gain valuable insights for informed decision making in later stages. Visualization helps in showing statistical summary in easy way. Use EDA and visualization for feature engineering and model selection.</p><h4><strong>Feature Engineering and Selection</strong></h4><p>Here we create new features or transform existing ones to capture better patterns and relationships. We also identify subset of features that most significantly impact the model’s performance. One can also use domain knowledge to engineer features that contribute meaningfully for prediction. Our objective in this phase is to balance set of features for accuracy while minimizing computational complexity.</p><h4><strong>Model Selection</strong></h4><p>While selecting model we must keep few things in mind — always select model that aligns with the defined problem and characteristics of dataset. Consider complexity of problem and nature of data when choosing a model. Evaluate factors like performance, interpretability and scaling when selecting a model. Experiment with different models to find the best fit for the problem.</p><h4><strong>Model Training</strong></h4><p>We expose the model to historical data to learn patterns, relationships and dependencies. We train the model iteratively, adjusting parameters to minimize errors and enhance accuracy. Here, we also fine tune model to optimize its predictive capabilities. Rigorously train model to ensure accuracy to new unseen data.</p><h4><strong>Model Evaluation and Tuning</strong></h4><p>Use metrics like accuracy, precision, recall and F1 score to evaluate model performance. Identify strengths and weaknesses of model through rigorous testing. Initiate model tuning to adjust hyperparameter and enhance predictive score. Iterate tuning to achieve desired levels of model robustness and reliability.</p><h4><strong>Model Deployment</strong></h4><p>Finally, we integrate trained model into existing systems or process for real world prediction. We use model’s prediction to make informed decision. Also, monitor model performance and make adjustments as necessary to maintain effectiveness over time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c35240b0d105" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In the Race to Create Doctors and Engineers, We’re losing Our Children]]></title>
            <link>https://medium.com/@sumit.work.connect/in-the-race-to-create-doctors-and-engineers-were-losing-our-children-bd2ac3e37aa9?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd2ac3e37aa9</guid>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Sat, 26 Apr 2025 06:14:16 GMT</pubDate>
            <atom:updated>2025-04-26T06:14:16.575Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pPI8-rC-uUUTfZSFembDfA.png" /></figure><p>In India, there’s an unwritten script handed down through generations: “<em>Become a doctor or an engineer, and you will earn respect, money, and a good life.</em>” For decades, this mindset has shaped the dreams of families — and crushed the spirits of children.</p><p>We’ve seen it too many times now. A teenager, bright and full of promise, takes their own life in a city like Kota — a place that’s supposed to build futures but often buries potential under the weight of relentless pressure. Over the past few months alone, several students have died by suicide. And the tragedy is no longer rare — it’s routine. The news cycle reports it, the coaching centers stay silent, and life moves on. But these are not just “cases”. These are <em>children</em>.</p><p><strong>Who’s responsible?</strong></p><p>The truth is: <strong>all of us</strong>. Parents, society, the education system, coaching institutes — we all play a part in this broken cycle.</p><p><strong>Parents: Love With Conditions</strong></p><p>Let’s start with the root. In many homes, love has started to come with a condition: “Make us proud by becoming a doctor or engineer.” No matter what a child’s passion, skillset, or dream may be, it is often discarded under the weight of this pre-decided goal.</p><p>Parents send their children to coaching hubs like Kota, hoping it’ll guarantee success. But they forget that not every child is meant for this path. Every child is born with different gift — but in trying to shape them into what they want, parents end up erasing who the child really is. The message becomes clear: <em>If you don’t succeed in this, you are a failure. </em>And that pressure builds, quietly, until it explodes.</p><p><strong>Stop comparing your children</strong>. Stop saying, “Look at him, he cracked JEE, you can too.” Maybe your child isn’t supposed to crack JEE — maybe they’re meant to write, create, innovate, or lead in a field you’ve never even considered. Parents need to realize: <strong>there is a world full happiness, success, and growth beyond medicine and engineering.</strong></p><p><strong>Society: The Invisible Hand That Chokes</strong></p><p>Why do parents think like this? Because <strong>society rewards only a narrow version of success. </strong>We celebrate toppers, rank-holders, and people with titles in front of their names. We mock the rest. That silent judgment seeps into dinner table conversations, school classrooms, and social media posts.</p><p>A student who gets 95% but doesn’t get into IIT is looked at with pity. A child who wants to pursue design, music, or literature is met with skepticism. “<em>But what job will they get?</em>” This thinking pushes people into careers they never wanted, and steal years of their lives.</p><p>We need to stop asking, “What rank did you get?” and start asking, “Are you happy doing what you do?”</p><p><strong>The Education System: Outdated and Unforgiving</strong></p><p>Our system isn’t built to nurture every kind of talent — it’s built to filter. It rewards rote learning, rigid thinking, and test performance. It doesn’t teach emotional resilience, self-awareness, or life skills. It creates a battlefield where lakhs of students fight for a few thousand seats, and the rest are made to feel like losers.</p><p>There is no space for curiosity, failure, or growth. Just ranks. Just results. Just pressure.</p><p><strong>Coaching Industry: A Business Disguised as Education</strong></p><p>Let’s be blunt: <strong>Kota is not a temple of learning. It’s a factory. </strong>Students are products. Results are currency. And anything that doesn’t serve the business model — like emotional well-being — is left out.</p><p>Coaching centers put students beyond limits, glorifying overwork and sleepless nights. Motivation is driven by fear, not support. When students can’t keep up, they are often discarded — made to feel unworthy. And slowly, the self-worth of a child erodes.</p><p>These institutions need regulation. They need accountability. Most importantly, they need <strong>humanity</strong>.</p><p><strong>And What About Us?</strong></p><p>We, the public, are no less guilty. We scroll past headlines of student suicides like they’re statistics. We don’t demand change. We don’t talk about mental health. We don’t ask questions. We’ve normalized the idea that children must suffer to succeed — and that’s tragedy.</p><p><strong>What Needs to Change</strong></p><p><strong>Parents</strong> need to listen more and impose less.</p><p><strong>Teachers</strong> and schools need to identify strengths beyond marks.</p><p><strong>Society</strong> needs to redefine success.</p><p><strong>Coaching Institutes </strong>need to put student well-being before profit.</p><p>And most of all, we need to create a culture where children <strong>feel safe to fail, and safe to be themselves.</strong></p><p>Because no exam, no rank, no college admission is worth a child’s life.</p><p>We’ve already lost too many.</p><p>Let’s not lose more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd2ac3e37aa9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terror in Kashmir: A Crime Against Humanity, A War Against Peace]]></title>
            <link>https://medium.com/@sumit.work.connect/terror-in-kashmir-a-crime-against-humanity-a-war-against-peace-db910f06f78f?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/db910f06f78f</guid>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Fri, 25 Apr 2025 18:05:07 GMT</pubDate>
            <atom:updated>2025-04-25T18:05:07.761Z</atom:updated>
            <content:encoded><![CDATA[<p>In a land known for its snow-capped mountains and tranquil valleys, yet again blood has spilled. A few days ago, innocent tourists — people who came to witness the beauty of Kashmir — were brutally murdered in an inhumane and shameful act of terrorism. And this time motive was even more sinister: to target Hindus specifically, to ignite hate, to divide a nation built on unity in diversity.</p><p>There is no justification, no religion, no ideology that can excuse such a gut-wrenching crime. <strong>Terrorism is Terrorism</strong> and those who commit it — and those who support it directly or indirectly — are enemies of humanity.</p><p>And let’s stop pretending we don’t know who’s behind this. The world knows Hafiz Saeed, the Chief of <strong>Lashkar-e-Taiba (Let),</strong> lives freely in Pakistan. <strong>The Resistance Front (TRF) </strong>— a proxy that claimed responsibility for the attack — is based in Pakistan too. Not only that, but the <strong>Pakistani government treats these monsters like VIPs</strong>. And then they have the audacity to say they have “nothing to do with it”? Seriously?</p><p>Who are they fooling?</p><p>Pakistan has become a terrorist-breeding nation — a state that gives shelter, funding, and platforms to those who kill innocents. They owe the world not just answers, but accountability. Why are terror outfits allowed to exist and flourish on their soil? Why are individuals like Hafiz Saeed not behind bars but living under state protection? This is not just negligence, it is complicity.</p><p>The masks are off. The game is over. <strong>The blood on Kashmir’s soil is on their hands too.</strong></p><p>But let’s also ask the question that’s uncomfortable — yet necessary.</p><p><strong>How did this even happen? </strong>Kashmir is one of the most heavily militarized zones in the world. Our forces are everywhere. Our surveillance networks are vast. And yet, terrorists managed to plan, coordinate, and execute this brutal attack without being detected. <strong>This is not just an intelligence failure — it’s a system failure.</strong></p><p>Yes, we understand it’s hard to monitor every movement in a terrain like Kashmir. Yes, terrorism evolves and threats are dynamic. But when the cost is innocent lives, <strong>“It’s complicated” is not good enough.</strong></p><p><strong>Who takes responsibility when the system fails to protect the very people it swore to safeguard?</strong></p><p>We must demand answers — not to blame for the sake of blame — but to prevent the next tragedy. Our agencies need reform, better tech, stronger human intel, and above all, real time coordination. Because <strong>terrorists only need to be lucky once. Our forces need to be alert every single time.</strong></p><p>Let’s be brutally honest: the root of this act lies in a long history of radicalism, especially that fueled by Islamic extremist ideologies. Radicalism, in any form and from any religion, is a cancer. But when religious dogma is weaponized by terrorists, supported by organizations like Lashkar-e-Taiba, and indirectly encouraged by state actors like terrorist breeding nation, Pakistan, it becomes a system — a terror industry.</p><p>Yes, terrorism is no longer just an ideology. It’s a business. A business of fear, blood, and power. These groups thrive on instability. They want Kashmir to burn, because peace threatens their control. They know that if Kashmir prospers, the youth will reject their poison. They know that development and tourism will bring awareness, and that awareness will kill their propaganda.</p><p>But this time, their intent was even darker — to disturb the fragile harmony between communities in India. They targeted Hindus, not just as individuals, but as symbols. They wanted to send a message, to provoke outrage, to shake the collective trust that binds Indians together.</p><p>What they’ve done, however, is expose themselves.</p><p>In recent years, Kashmir was beginning to rise. Tourism was thriving, local businesses were picking up, and hope was returning. With a single act of cowardice, they’ve attempted to push the region two decades backward. Families who relied on tourism are shattered again. The fear is back. The uncertainty is back.</p><p>But we must not let them win.</p><p>India must adopt a zero-tolerance policy — not just in words, but in action. No more soft handling of terrorism. No more turning a blind eye to the indirect sponsors in the name of diplomacy. No more letting radicals — of any religion — hijack the narrative. The pain of Kashmiris, the blood of innocent tourists, and the shattered dreams of families demand justice, not appeasement.</p><p>To all those who still defend or justify these acts in the name of ideology: you are complicit.</p><p>To the peace-loving citizens of India — Hindus, Muslims, Sikhs, Christians, everyone — this is the time to stand united. Terror has no religion, but those who stay silent in the face of it become its shadow.</p><p>Kashmir deserves peace. Tourist deserve safety. India deserves justice.</p><p>And humanity deserves better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db910f06f78f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LangGraph in Action: Trends, Use Cases, and How to build with It in 2025]]></title>
            <link>https://medium.com/@sumit.work.connect/langgraph-in-action-trends-use-cases-and-how-to-build-with-it-in-2025-981e8e50dedd?source=rss-bc2f31b0b1a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/981e8e50dedd</guid>
            <dc:creator><![CDATA[Sunny Singh]]></dc:creator>
            <pubDate>Sat, 19 Apr 2025 14:00:26 GMT</pubDate>
            <atom:updated>2025-04-19T14:08:53.433Z</atom:updated>
            <content:encoded><![CDATA[<h4>Think in Graphs: The Smart Way to Build with LLMs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sKcPWZu7dZoEZh87ouD-HA.png" /></figure><p>As AI apps powered by LLMs evolve, so do the challenges: complex workflows, juggling agent memory, and making real time decisions. That’s where <strong>LangGraph</strong> steps in — a next gen framework from LangChain that turns traditional linear flows into <strong>smart, memory-driven graph</strong>-based systems.</p><p><strong>What is LangGraph?</strong></p><p>LangGraph is an open-source framework that lets you design <strong>stateful</strong> (i.e. LangGraph let’s your AI workflow run with memory), <strong>multi-agent</strong>, and <strong>looping </strong>workflows using graph-based computation. Built on <strong>NetworkX </strong>( a python library used to create, manipulate, and study graphs and networks), it allows each node to do something smart ( like an LLM call or function), while the edges decide where to go next.</p><p>Forget rigid pipelines — LangGraph brings <strong>flexibility,</strong> <strong>memory</strong>, and <strong>modularity </strong>to your AI builds.</p><p><strong>Why Everyone’s Talking About LangGraph in 2025?</strong></p><p>Here’s why LangGraph is making waves this year:</p><ol><li><strong>Total Control: </strong>Define exactly how your agents interact and evolve.</li><li><strong>Structured Memory</strong>: Pass rich state between steps — track throughs, actions or retrieved info.</li><li><strong>Dynamic Branching</strong>: Let logic or LLMs choose the next move.</li><li><strong>Debug-Friendly</strong>: Visualize the entire graph to understand flow and failures.</li><li><strong>Enterprise-Grade:</strong> Easily build scalable, testable systems for real-world apps.</li></ol><p>LangGraph is not just a tool — it’s a mindset shift. With the explosion of autonomous agents and multi-agent research tools, LangGraph fits the 2025 AI dev landscape like a glove.</p><p><strong>Core Concepts at a Glance</strong></p><ol><li><strong>State</strong>: The brain of your graph — holds and passes data through nodes.</li><li><strong>Nodes</strong>: The actions — LLMs calls, tools, or Python logic.</li><li><strong>Edges</strong>: The paths — determine which node runs next.</li><li><strong>Cycles</strong>: A loop in your logic — where a node can lead back to itself or a previous step.</li><li><strong>Conditional Routing:</strong> Easily implement if/else paths, retries, or feedback based redirection.</li></ol><p><strong>Where LangGraph Shines: Real Use Cases</strong></p><ol><li><strong>AI Debates &amp; Multi-Agent Chats:</strong> Let two or more agents interact intelligently.</li><li><strong>Auto Researchers:</strong> Think structured Auto GPT, but smarter and more testable.</li><li><strong>Customer Support Flows:</strong> Intelligent fallback, escalation, and error-handling.</li><li><strong>Adaptive Learning Systems:</strong> Build AI tutors that adjust to each learner.</li><li><strong>Feedback Loops in RAG: </strong>Add memory, validation, and follow-up steps with ease.</li><li><strong>AI Legal Assistants with Step Validation: </strong>Each clause or section of a document is reviewed — checked by a second validator agent — if issue found, it loops back for correction.</li><li><strong>Interactive Story Generators:</strong> Each decision made by the user branches into a different part of the narrative — user can revisit choices — loops to previous steps.</li></ol><p>And the list can go on.</p><p><strong>Read to Try LangGraph? Let’s Build a “Mood Greeter” with LangGraph</strong></p><pre>from langgraph.graph import StateGraph, END<br>from langchain_core.runnables import RunnableLambda<br><br># Step1: Detect Mood - A function to detect mood from the state input<br>def detect_mood(state):<br>    mood = state.get(&quot;mood&quot;,&quot;neutral&quot;).lower() # get mood, default to neutral<br>    if mood in [&quot;happy&quot;,&quot;joyful&quot;]:   # check if happy mood<br>         return {&quot;mood&quot;:&quot;happy&quot;}<br>    elif mood in [&quot;sad&quot;,&quot;down&quot;]:    # check if sad mood<br>         return {&quot;mood&quot;:&quot;sad&quot;}<br>    else:                           # Fallback to neutral<br>         return {&quot;mood&quot;:&quot;neutral&quot;}<br><br># Step2: A function to respond with a message based on mood<br>def respond(sate):<br>    mood = state[&#39;mood&#39;]    # read detected mood<br>    responses = {<br>         &quot;happy&quot;: &quot;Yay! Great to see you smiling!&quot;,<br>         &quot;sad&quot;: &quot;Hey! sending you good vibes today!&quot;,<br>         &quot;neutral&quot;: &quot;Hello there! Hope your day turns aweseome!&quot;    <br>       }<br>    return {&quot;message&quot;: responses.get(mood)}<br><br># Build a LangGraph workflow using above functions<br>builder = StateGraph(dict) # intialize a new stateful graph<br><br>builder.add_node(&quot;detect&quot;, # node 1 detect mood<br>RunnableLambda(detect_mood))<br><br>builder.add_node(&quot;respond&quot;, # node 2 Respond<br>RunnableLambda(respond))<br><br># Define the flow of the graph<br>builder.set_entry_point(&quot;detect&quot;) # start from detect node<br><br>builder.add_edge(&quot;detect&quot;,&quot;respond&quot;) # then go to respond<br><br>builder.set_finish_point(&quot;respond&quot;) # End at respond<br><br># Compile the graph<br>graph = builder.compile()<br><br># Validate with different moods<br>print(graph.invoke({&quot;mood&quot;:&quot;joyful&quot;})) # should print the happy message<br><br>print(graph.invoke({&quot;mood&quot;:&quot;down&quot;}))  # should print the sad message<br></pre><p><strong>Final Thoughts</strong></p><p>LangGraph isn’t just a tool — it’s a smarter way to build with LLMs. It’s <strong>modular, maintainable,</strong> and <strong>made for the future</strong> of AI.</p><p>Whether you’re crafting AI tutors, knowledge bots, or research agents, LangGraph lets you architect workflows that think, adapt, and grow.</p><p><strong>Start building in graphs, not just chains.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=981e8e50dedd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>