<?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 Great Nwankire-Jonathan on Medium]]></title>
        <description><![CDATA[Stories by Great Nwankire-Jonathan on Medium]]></description>
        <link>https://medium.com/@greatnwankire?source=rss-a32009f83c47------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*11LChLrwcMd7-E2sLYCCQg.jpeg</url>
            <title>Stories by Great Nwankire-Jonathan on Medium</title>
            <link>https://medium.com/@greatnwankire?source=rss-a32009f83c47------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 05:07:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@greatnwankire/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[Supervised Learning: How Machines Learn like Kids]]></title>
            <link>https://greatnwankire.medium.com/supervised-learning-how-machines-learn-like-kids-a66070245285?source=rss-a32009f83c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/a66070245285</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Great Nwankire-Jonathan]]></dc:creator>
            <pubDate>Mon, 20 Oct 2025 06:17:42 GMT</pubDate>
            <atom:updated>2025-10-20T06:17:42.129Z</atom:updated>
            <content:encoded><![CDATA[<h4>This is the secret behind things like self-driving cars and Netflix recommendations.</h4><figure><img alt="Cartoon image of robot, coffee maker, washing machie and robotic arm, learning what a boat is from a class teacher." src="https://cdn-images-1.medium.com/max/910/1*dO6C0SglrljeEfR723zbZQ.png" /></figure><h3>What Does It Mean to “Supervise” a Machine?</h3><p>An easy way to picture this is to imagine teaching a child different colours. You show instances of those colours and say,</p><blockquote><em>“This is red.”<br>“This is blue.” etc…</em></blockquote><p>After seeing enough examples, the child begins to understand the pattern and recognise the difference between the colours.</p><p>Eventually, they can correctly state the colour of an object or item that they’ve never seen before.</p><p>That’s <strong>supervised learning</strong>. Teaching a machine/model using examples that already have the right answers attached.</p><p>The machine sees data (the colours, in this case) <strong>and</strong> their correct labels (“red”, “blue”, …) and learns the relationship between them. When a new instance of a colour is shown, it can make an educated guess, just like the child.</p><h3>Why Supervised Learning Matters</h3><p>Supervised learning is the foundation of modern machine learning and one of the most successful forms of machine learning so far. We use it <strong>whenever we want a system to predict something from known examples.</strong></p><p>If you’ve ever:</p><ul><li>Seen Gmail automatically send messages to your <em>Spam</em> folder,</li><li>Watched Netflix suggest the next show you might like, or</li><li>Let your phone camera detect faces for focus,</li></ul><p>you’ve experienced supervised learning in action.</p><p>In all these cases, the machine has been trained with past examples that contain <strong>inputs and correct outputs</strong>.<br>Once trained, it can predict outputs for <strong>new, unseen inputs</strong> (whether a new email is spam or not, what kind of show you would like to watch next, or what part of a picture contains a human face).</p><h3>Types of Supervised Learning</h3><p>Most supervised learning problems fall into two broad types: classification and regression.</p><h4>Classification</h4><p>This refers to any supervised learning problem where the goal is to predict a <strong>category</strong> or <strong>class</strong>.</p><p>Examples:</p><ul><li>Is this an email <strong>spam</strong> or <strong>not</strong>?</li><li>Is this photo a <strong>cat</strong> or a <strong>dog</strong>?</li><li>Is this review <strong>positive</strong> or <strong>negative</strong>?</li></ul><p>Each input belongs to one of several fixed classes. You can think of it like sorting fruit into bowls; apples here, oranges there.</p><p><strong>A Quick Example: Classifying Iris species</strong></p><p>Imagine you’re a botanist (or floral hobbyist) and you have data on three iris species:</p><ul><li>📏Length of petals</li><li>📐Width of petals</li><li>📏Length of sepals</li><li>📐Width of sepals</li><li>🌷Iris species it falls under</li></ul><p>You want to predict the species for a <em>new</em> iris plant whose measurements you have.</p><p>You feed a supervised learning model lots of examples of iris plants and their species. The model learns the patterns (the smallest petals and sepals are for the setosa species, …) and applies those insights to predict species for new measurements.</p><p>That’s <strong>classification</strong> in action!</p><h4>Regression</h4><p>This refers to any supervised learning problem where the goal is to predict a <strong>number</strong> or <strong>continuous value</strong>.</p><p>Examples:</p><ul><li>What will the temperature be tomorrow?</li><li>How much will this house sell for?</li><li>What’s the estimated delivery time for this order?</li></ul><p>Instead of categories, the model predicts quantities (price, size, count, etc). Here, you’re not classifying; you’re estimating<em>.</em></p><p><strong>A Quick Example: Predicting House Prices</strong></p><p>Imagine you’re a real estate agent (or even a very keen buyer) and you have data about houses that have sold in the past:</p><ul><li>🏠 Size in square meters</li><li>📍 Location</li><li>🛏 Number of bedrooms</li><li>💰 Selling price</li></ul><p>You want to predict how much a <em>new</em> house might sell for.</p><p>You feed a supervised learning model lots of examples of past houses and their prices. The model learns the patterns (bigger houses in better locations cost more) and applies those insights to predict prices for new listings.</p><p>That’s <strong>regression</strong> in action!</p><h3>How the Learning Happens</h3><p>Let’s peek under the hood.</p><p>When a supervised learning model trains, it goes through this process:</p><ol><li><strong>See examples:</strong> it examines the training data (which contains inputs called ‘features’ and their correct answers called ‘labels’).</li><li><strong>Find patterns:</strong> it establishes mathematical relationships connecting inputs to outputs.</li><li><strong>Test itself</strong>: it tests that mathematical relationship using new data it hasn’t seen before to see if the relationship accurately predicts the answers.</li><li><strong>Adjust: </strong>if predictions are wrong, it corrects its internal rules and adjusts the relationship.</li></ol><p>Over time, the model improves and its predictions on new, unseen data become more accurate.</p><p>The real goal is not to <strong>memorise</strong> training data, but to <strong>generalise.</strong> That means figuring out a mathematical relationship that would ‘generally’ connect features to the correct answers or predictions, even on data the model hasn’t encountered before.</p><p>Which brings us to the hidden challenge…</p><h3>Overfitting</h3><p>Supervised learning is powerful, but there’s a catch.</p><p>If a model learns <em>too well</em> from the training data, memorising instead of understanding patterns, it performs poorly on new data.<br>This is called <strong>overfitting</strong>.</p><p>Think of a student who memorises past exam answers without actually learning the concepts and understanding the topics. They’ll fail the next test if the questions change even slightly.</p><p>In ML, the same thing happens when a model fits perfectly to the training data but fails in the real world. That’s why we use validation/test sets and testing methods to check how well the model generalises. But that discussion is for another article.</p><p>On the flip side, if the model doesn’t learn <em>well enough</em>, it also performs poorly and does no better than random guessing. This is called <strong>underfitting</strong>. A good model finds a balance between both extremes: learning well enough to make accurate predictions on new data, but not so much that it basically memorises the data. We’ll go into details in another article.</p><h3>Why Supervised Learning Dominates AI</h3><p>Supervised learning works because:</p><ul><li>It’s easy to understand conceptually (as you must agree after reading up to this point 🌚).</li><li>There’s a clear goal (predict the correct label or value).</li><li>It achieves great accuracy with enough high-quality labelled data.</li></ul><p>That’s why it powers most of the AI you interact with every day, from self-driving cars to voice assistants.</p><h3>Popular Supervised Learning Algorithms</h3><p>Some popular supervised learning models are:</p><ul><li>k-Nearest Neighbors</li><li>Linear regression</li><li>Ridge regression</li><li>Lasso</li><li>Logistic regression</li><li>Support Vector Machines</li><li>Decision Trees</li><li>Random forests</li><li>Neural networks</li></ul><p>For details on how some of these algorithms work, check out my <a href="https://intoml.hashnode.dev/">Hashnode blog</a>, where I give more technical insights into ML.</p><h3>Summary</h3><blockquote><strong><em>Supervised learning</em></strong><em> is about teaching machines using examples that already have answers.</em></blockquote><blockquote><em>It’s like having a teacher guide the model until it can predict on its own.</em></blockquote><blockquote><em>Two major types:</em></blockquote><blockquote><strong>- Classification</strong> → predict a category (spam or not spam)</blockquote><blockquote><strong>- Regression</strong> → predict a number (house price, temperature</blockquote><blockquote><em>But beware of overfitting; learning too much from the past can hurt future predictions.</em></blockquote><h3>What’s Next?</h3><p>In the next part of this series, we’ll explore <strong>Unsupervised Learning</strong> and how machines can find patterns <em>without</em> being told what the right answer is.</p><p>In case you missed it, you can check out the previous article, <a href="https://greatnwankire.medium.com/what-is-machine-learning-really-6290357e8d04">🤖 <strong>What Is Machine Learning, Really?</strong></a>, where we explained the concept of Machine Learning quite simply.</p><p>🧠 <strong>This article is part of my series — </strong><a href="https://greatnwankire.medium.com/list/machine-learning-for-beginners-6ee9edb62149"><strong>Machine Learning for Beginners</strong></a>, where I explain ML concepts in simple language for absolute beginners.</p><p>🔗 Want to see the technical breakdown (with Python examples)? Read the companion post on <a href="https://intoml.hashnode.dev/"><strong>Hashnode</strong></a>.</p><p>#MachineLearning #AI #DataScience #Education #Beginners</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a66070245285" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ What Is Machine Learning, Really?]]></title>
            <link>https://greatnwankire.medium.com/what-is-machine-learning-really-6290357e8d04?source=rss-a32009f83c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/6290357e8d04</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Great Nwankire-Jonathan]]></dc:creator>
            <pubDate>Mon, 20 Oct 2025 06:09:27 GMT</pubDate>
            <atom:updated>2025-10-20T06:19:38.329Z</atom:updated>
            <content:encoded><![CDATA[<h4>Everyone talks about it. But what does it actually mean when we say “a machine is learning”?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6UYAhMvoAGcdBnK1yvx1Cw.png" /></figure><p>Imagine you’re teaching a child to recognise fruits. You show them a few apples and oranges, and they start to notice:</p><blockquote><em>“Apples are usually round and red.”<br> “Oranges are round and orange.”</em></blockquote><p>After a few lessons, you hold up a new fruit and they say, “That’s an apple!” even though they’ve never seen <em>that exact apple</em> before.</p><p>That’s learning.<br>And when we build a computer system that does something similar (finding patterns in examples so it can make predictions on new ones), that’s <strong>machine learning</strong>.</p><h3>So… What Is Machine Learning?</h3><p>In the simplest possible terms:</p><blockquote><em>Machine learning is the science of teaching computers to learn from data — instead of programming them with fixed rules.</em></blockquote><p>Traditionally, computers do what we explicitly tell them:<br>If A happens, do B. If not, do C.</p><p>But in the real world, many problems are <strong>too complex</strong> to describe with hard-coded rules.</p><p>How would you write rules to:</p><ul><li>Identify a face in a photo?</li><li>Translate a sentence from English to French?</li><li>Predict which movie someone might enjoy next?</li></ul><p>You can’t easily spell out <strong>all</strong> the “if-then” rules. So instead, we let the computer learn patterns from data.</p><h3>A Simple Analogy: The Recipe vs. The Chef</h3><p>Old-fashioned programming is like following a <em>recipe</em>:</p><ul><li>Step 1: Do this</li><li>Step 2: Add that</li><li>Step 3: Output your result</li></ul><p>Machine learning is like training a chef.<br>You give them lots of examples (data), let them experiment, and they eventually learn what makes a good dish. They don’t <strong>memorise</strong> one recipe; they ‘<strong>learn</strong>’ the principles of cooking.</p><h3>What Makes It “Learning”?</h3><p>Here’s the key idea:<br>A machine is said to “learn” if it improves its performance <strong>through experience</strong>.</p><blockquote><em>“A computer program is said to learn from experience </em>E<em> with respect to some task </em>T<em> and performance measure </em>P<em> if its performance on </em>T<em>, as measured by </em>P<em>, improves with experience </em>E<em>.”</em></blockquote><blockquote>Tom Mitchell</blockquote><p>Let’s unpack that with an example:</p><ul><li><strong>Task (T):</strong> Predict whether an email is spam or not</li><li><strong>Experience (E):</strong> Reading thousands of labelled emails</li><li><strong>Performance (P):</strong> How often it predicts correctly</li></ul><p>If the model gets better at detecting spam as it sees more data, it’s learning.</p><h3>The Three Main Ways Machines Learn</h3><p>Machine learning comes in different “flavours,” depending on the kind of data and feedback available.</p><p>Here’s a quick overview:</p><h4>1. Supervised Learning</h4><p>You provide examples <em>with</em> the right answers (labelled data). The machine learns to predict those labels for new inputs.</p><p>Example: Classifying emails as spam or not spam.</p><p><em>(We’ll dive deep into this in the next article.)</em></p><h4>2. Unsupervised Learning</h4><p>You give the machine <em>unlabelled</em> data (i.e with no answers).<br> It tries to find patterns or group similar data together.<br> Example: Grouping customers with similar shopping habits.</p><h4>3. Reinforcement Learning</h4><p>The machine learns through <em>trial and error </em>by interacting with an environment and getting feedback (rewards or penalties).<br>Example: Training an AI to play chess or control a robot.</p><h3>Where You Already See Machine Learning</h3><p>Machine learning isn’t just for tech companies. It’s shaping nearly everything you interact with daily:</p><ul><li>Your phone’s autocorrect and voice assistant</li><li>Online recommendations (Netflix, Spotify, Amazon)</li><li>Fraud detection on credit cards</li><li>Medical image analysis</li><li>Self-driving cars</li></ul><p>Each of these systems uses data to make decisions, predictions, or personalised experiences, all powered by machine learning.</p><h3>What Machine Learning Isn’t</h3><p>It’s easy to confuse terms, so let’s clear this up:</p><ul><li><strong>Machine Learning ≠ Artificial Intelligence</strong><br> Machine learning is a <em>subset</em> of AI — one way to make machines intelligent. AI is the broad goal (making machines smart), while ML is the <em>method</em> (using data to learn).</li><li><strong>Machine Learning ≠ Just Coding</strong><br> You don’t need to be a programmer to understand how it works conceptually. Coding simply lets you <em>implement</em> those ideas.</li></ul><h3>The Magic Beneath It</h3><p>Under the hood, machine learning is powered by math (especially statistics and linear algebra). But don’t worry, to grasp the <em>idea</em>, you don’t need to dive deep into formulas.</p><p>Just think of it this way:</p><blockquote><em>The computer takes in lots of examples, finds patterns, and uses those patterns to make better guesses next time.</em></blockquote><p>That’s the essence of learning.</p><h3>Wrapping Up</h3><blockquote><em>Machine learning is about </em><strong><em>teaching computers to improve with experience</em></strong><em>.</em></blockquote><blockquote><em>It’s what happens when we stop giving computers fixed instructions and instead let them discover the rules themselves.</em></blockquote><blockquote><em>From spam filters to chatbots to self-driving cars, it’s all the result of machines learning from data.</em></blockquote><h3>What’s Next</h3><p>In the next part of this series, we’ll explore <a href="https://greatnwankire.medium.com/supervised-learning-how-machines-learn-like-kids-a66070245285"><strong><em>Supervised Learning: How Machines Learn Like Kids</em></strong></a></p><p>🧠 <strong>This article is part of my series — </strong><a href="https://greatnwankire.medium.com/list/machine-learning-for-beginners-6ee9edb62149"><strong>Machine Learning for Beginners</strong></a>, where I explain ML concepts in simple language for absolute beginners.</p><p>🔗 Want to see the technical breakdown (with Python examples)? Read the companion post on <a href="https://intoml.hashnode.dev/"><strong>Hashnode</strong></a>.</p><p>#MachineLearning #AI #DataScience #Education #Beginners</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6290357e8d04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Welcome to “Machine Learning for Beginners” — Where AI/ML Becomes Simple.]]></title>
            <link>https://greatnwankire.medium.com/welcome-to-machine-learning-for-beginners-where-ai-ml-becomes-simple-c035b231a8cc?source=rss-a32009f83c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/c035b231a8cc</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Great Nwankire-Jonathan]]></dc:creator>
            <pubDate>Mon, 20 Oct 2025 02:46:48 GMT</pubDate>
            <atom:updated>2025-10-20T02:50:23.454Z</atom:updated>
            <content:encoded><![CDATA[<h3>Welcome to “Machine Learning for Beginners” — Where AI/ML Becomes Simple.</h3><h4>Because you don’t need a PhD to understand how machines learn.</h4><pre>print(&quot;Welcome to &#39;Machine learning for Beginners&#39;!!!&quot;)</pre><p>👋 Hi there! I’m Great, and this is <a href="https://greatnwankire.medium.com/list/machine-learning-for-beginners-6ee9edb62149"><em>Machine Learning for Beginners</em></a>, a series dedicated to explaining ML concepts in plain English, as simply as I can, for people who want to understand what lies behind all the technical jargon.</p><figure><img alt="robot with education hud
 3d rendering robot learning or machine learning with education hud interface" src="https://cdn-images-1.medium.com/max/612/1*Bqd9gqdltH4nK9CuNGSEeQ.jpeg" /></figure><p>Machine learning is everywhere (from your phone’s autocorrect to Netflix recommendations), but for many people, it still feels like magic. My goal with this series is to take that “magic” apart and show you what’s really happening behind the scenes, step by step.</p><p>Over the next few weeks, I’ll be publishing short, easy-to-understand explainers on topics like:</p><ul><li>What is Machine Learning (really)?</li><li>Supervised Learning</li><li>Unsupervised Learning</li><li>Regression and Classification</li><li>Overfitting, Bias, and Why Models Fail</li><li>And more…</li></ul><p>Every article will be written for complete beginners. No programming background required.</p><p>For readers who <em>do</em> want to dig deeper into the technical side (Python, algorithms, and math intuition), I’ll also publish companion posts on my <a href="https://intoml.hashnode.dev/">Hashnode blog</a> — so you can learn at your own pace.</p><p>💡 <em>New posts every week.</em><br> Follow this series to start understanding the world of machine learning, one clear, simple story at a time.</p><p>🧠 <em>Series home:</em> <a href="https://greatnwankire.medium.com/list/machine-learning-for-beginners-6ee9edb62149">Machine Learning for Beginners</a><br> 🔗 <em>Technical deep dives:</em> <a href="https://intoml.hashnode.dev/">Visit my Hashnode blog</a></p><p>#MachineLearning #AI #DataScience #Beginners #Education</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c035b231a8cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Writing is HARD!!!]]></title>
            <link>https://greatnwankire.medium.com/writing-is-hard-d2f4cc683636?source=rss-a32009f83c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2f4cc683636</guid>
            <category><![CDATA[writers-block]]></category>
            <category><![CDATA[creative-block]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[nonfiction]]></category>
            <category><![CDATA[imposter-syndrome]]></category>
            <dc:creator><![CDATA[Great Nwankire-Jonathan]]></dc:creator>
            <pubDate>Sat, 05 Apr 2025 11:03:33 GMT</pubDate>
            <atom:updated>2025-04-05T11:03:33.184Z</atom:updated>
            <content:encoded><![CDATA[<p>But writing is amazing and such fun! It’s satisfying and cathartic. And it’s such a pleasure to witness the effect of your work on the next person…on readers…even on a brand.</p><p>Just like the thrill of riding a bike with the wind in your face and your shirt on the fly, which is preceded by grueling hours of falling and getting back up. Of scraped knees and grazed elbows, before the wheels become extensions of your arms and legs, making mechanical cartwheels across dirt roads and eating up paths as if you were originally made to be a two-wheeled autobot.</p><p>Like the hours spent in the steaming <em>usekwu</em>, suffering smoke and heat. Spices and coughs. To produce that heavenly plate of <em>ofe egusi</em> that makes you finger-wash your plate and bless your <em>nne</em>.</p><p>Every creator knows the joy of calling something forth from nothing. Of pouring your heart into a piece and having it tell your story more perfectly than you ever could. And of the ensuing satisfaction from said creation receiving love and accolades.</p><p>Every creator also knows the pain of the anxiety and imposter syndrome that punctuate the process. Of reluctance, deadlines and creative block. Of incomplete paintings and streaks of colours in the perfect shape of your frustration, strewn across an otherwise empty canvas. Of unsung songs and crumpled sheets around the bin. Of words that latch onto your throat, refusing to be spoken.</p><p>Every creator knows the pain of calling out to their naked muse and raw inspiration, “<em>Adam, where are you?</em>” and having Adam hide away from them and evade their grasp.</p><p>A brilliant writer once said,</p><blockquote>“To create is to enjoy.”</blockquote><p>But we know what the subtext reads —</p><blockquote><strong>…to create, also, is to endure.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*cPFg9QhwQRZvF40paRaYUA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2f4cc683636" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Kitchen to Kitchen: A Power Generation Tale]]></title>
            <link>https://greatnwankire.medium.com/from-kitchen-to-kitchen-a-power-generation-tale-e6ece1b9447e?source=rss-a32009f83c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6ece1b9447e</guid>
            <category><![CDATA[power-generation]]></category>
            <category><![CDATA[thermal-power-plant]]></category>
            <category><![CDATA[electricity]]></category>
            <category><![CDATA[generator]]></category>
            <category><![CDATA[electromagnetic-induction]]></category>
            <dc:creator><![CDATA[Great Nwankire-Jonathan]]></dc:creator>
            <pubDate>Wed, 11 Sep 2024 13:26:16 GMT</pubDate>
            <atom:updated>2024-09-11T13:26:16.350Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*phRwIQ0vhDQSwHU_ekBeBg.jpeg" /></figure><p>For most of us, electricity remains one of the wonders of science. Each aspect is a marvel; the way it is generated, its speed, and even the fact that some measures would just tingle to the touch, while others would make you question your immediate past choices. From the time of its discovery, electricity has played a huge role in human activities and technological advancements. Whether you understand all of it or not, you can’t do without it, can you?</p><p>Elementary sciences give us a sneak peek into the process. We know that the Power Grid is divided into three major sections; power generation, power transmission, and power distribution. We also know that power transmission involves “transporting” electricity at High Voltages over considerable distances, via high-tension transmission lines, to substations. Distribution, on the other hand, involves the delivery of electricity at Low Voltages to consumers. These parts are mostly easy to grasp and whenever we think of the power grid, we easily picture these parts. But the electricity was “cooked up” somewhere before this journey began and that part is not very relatable. Let’s dive into the world of power generation.</p><p>In 1831, Michael Faraday (the kite guy), who had been trying to prove that there was a relationship between magnetism and the newly discovered electricity, made a breakthrough. He had wrapped a coil of wire at one end of a soft iron ring and wrapped another coil at the other end without them making any contact. The first coil was then connected to a battery and the result was that the soft iron ring became magnetized. That adds up with the principle of electromagnetism that we are familiar with today, but that was not all. The end of the wire from the second coil was placed close to a compass and the compass needle twitched once the battery was connected and immediately returned to its original position. When the battery was disconnected, the needle twitched similarly, but in the opposite direction. Interesting… (insert evil chuckle and finger taps)</p><p>With more experiments, it was concluded that changes in the magnetic field of the first coil induced current in the second coil. That was a life-changing discovery. If you could find a way to change the magnetic flux around a conductor or coil, you would trigger an electrical flow through it. If you could keep the flux steadily changing, the flow would continue. This phenomenon was termed Electromagnetic Induction. Faraday discovered that you could achieve this change in flux by moving a magnet relative to the wire, turning an electromagnet on and off repeatedly (like in the experiment earlier), or by moving the wire itself through a magnetic field. This is the foundation of electricity generation.</p><p>The relationship between the induced voltage and the rate of change in flux would come to be defined by the formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/0*OGLQ-arvDDGr0K7D" /></figure><blockquote>𝛆 = induced voltage</blockquote><blockquote><em>N </em>= number of loops on the coil of wire</blockquote><blockquote>Φ = magnetic flux</blockquote><blockquote><em>t </em>= time</blockquote><p>Faraday eventually invented the first generator by wrapping a copper coil around a hollow insulated tube and moving a magnet through the tube. He made it clear that the magnet had to be moving for electricity to be produced, and thus was born the relationship between mechanical energy (motion) and electrical energy which still defines generators today. Eventually, it became clear that rotation would be a more sustainable way of creating a change in flux as opposed to the back-and-forth motion. The challenge, now, was how to keep the motion going. It doesn’t sound like a great idea to crank it by hand now, does it?</p><p>Sparing you the historical jibber-jabber, this is the backbone of the different kinds of generators that have come to be. For example, the backup gasoline generator in your shed keeps the rotation going by burning fuel in an Internal Combustion Engine. That is a whole other discourse, but what’s important is that this engine burns fuel and generates a rotation on the crankshaft which is connected to the Electromagnetic induction section. And what does such a system do with rotation? It creates a change in magnetic flux which induces the flow of electricity. Voila! Your bulbs glow and your gadgets are powered.</p><p>Since the principles of power generation are fundamentally the same, power generation in power plants connected to the power grid still works the same way. The difference is that the scale is much bigger and the rotation is kept going differently (and more efficiently) to suit the scale. So, the nation is practically powered by a bunch of huge generators that work in ways that are closely related to your little backup generator. The difference in the types of power plants simply refers to how they keep the rotation going. Wind turbines, for example, use the force of the wind to rotate the rotor shaft directly, while hydroelectric power stations use the falling water from dams to turn turbine blades which are connected to the rotor shaft. The most popular method is the use of steam pressure to rotate turbine blades connected to the rotor shaft.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*X6rAI3y2T6y_tv3LpbKNxg.gif" /></figure><p>Here’s a little open secret; coal, gas, and even nuclear power plants use steam to turn the turbine blades. Most of these plants generate heat somehow (burning coal, gas, or heat generated from nuclear activity), and the heat is used to boil water to steam level. The conventional steam power plant runs an operation quite similar to the process you take to brew a piping hot pot of tea. Assuming you use a gas stove, you would put the required quantity of water in your teapot, light the stove with a lighter, or match, and place the pot on till the water boils. Similarly, in a steam power plant, natural gas, diesel, or some other fuel would be passed into a burner, which would be lit on fire by an igniter to heat up a boiler’s furnace. Then water would be passed through this furnace (usually using some heat-compatible piping system) and heated to obscene levels to get dry steam at very high temperatures and pressure. The steam is sent to a collection of turbine blades, to rotate the turbine on a shaft. Obviously, this shaft is already connected to the generator’s rotor. Rotation begets change in flux, and change in flux begets electric flow which goes to the transmission lines after going through step-up transformers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*WEG5tsHb2Cv-N4F-HlgWew.jpeg" /><figcaption>From Kitchen</figcaption></figure><p>So, from the weird mechanical <em>kitchen</em>, built for the sole purpose of heating water to ungodly temperatures, energy is converted and transferred till it gets to your kitchen and all your appliances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*W66pJSoEsjTJzJxixgB-vw.jpeg" /><figcaption>To Kitchen</figcaption></figure><p>I hope this demystified even a portion of the electrical enigma for you, and I hope you think about this the next time you bring a pot of tea to a boil.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6ece1b9447e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Science Supports Instant Karma!]]></title>
            <link>https://greatnwankire.medium.com/science-supports-instant-karma-e915002d8d8c?source=rss-a32009f83c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/e915002d8d8c</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[game-theory]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[prisoners-dilemma]]></category>
            <category><![CDATA[science]]></category>
            <dc:creator><![CDATA[Great Nwankire-Jonathan]]></dc:creator>
            <pubDate>Wed, 11 Sep 2024 12:17:08 GMT</pubDate>
            <atom:updated>2024-09-11T12:17:08.908Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*o0-3fTXUqPDRWt0O513a0g.jpeg" /></figure><p>Throughout time, humans have had various convictions about the right philosophy with which to approach life. Pacifism, stoicism, Taoism, and ethics are a few compilations of what various religions, ethnicities, and people have decided upon as the optimal way of living and interacting with their environments. A stripped-down version would say that these philosophies are people’s responses to life’s constant questions about how to react to things; whether to turn the other cheek or go eye for eye. While the discourse has gone on for years, a scientific theory has provided a seemingly ironclad answer — at least to the part that deals with interactions with other people and reactions to their actions. If you’re into Maths and Stats, you probably already guessed the game changer; Game Theory! (nerd pun intended)</p><p>If you’ve never heard of it before now, or if the concept has been a little dicey to grasp, game theory is the mathematical study of decision-making and strategy formulation in scenarios where possible actions and their repercussions are known. Simply, game theory studies how entities (people, animals, programs…) interact with one another and make decisions when faced with different conditions (or “game rules”). Think of a game of tic-tac-toe (Xs and Os); players know the rules of the game and the conditions for winning or losing. While playing a game, each player sees the empty spaces and knows what an opponent’s mark on any space could mean for them. They use this information to decide where to put their Xs or Os on every turn. The study of the interaction between these players is game theory. This is a narrow example though, so don’t be in a hurry to announce your game theory expertise just yet. In <a href="https://en.wikipedia.org/wiki/Game_theory#:~:text=Game%20theory%20is%20the%20study%20of%20mathematical%20models%20of%20strategic%20interactions.">Wiki</a>’s words, “Game theory is the study of mathematical models of strategic interactions.”</p><p>In the beginning, game theory focused on interactions between two participants where one person’s loss translates to the other’s win and vice versa. A sort of winner-takes-all scenario where you have to lose for me to win. These are referred to as zero-sum games since the sum of total losses subtracted from the sum of gains will equal zero every time. An example of this is a game of chess or poker. With time, game theory came to include non zero-sum games which was a very important development, given that many real-life scenarios are non zero-sum. With this, game theory could study more aspects of decision-making in humans, computers, and even animals.</p><p>One of the most popular non zero-sum game models is the Prisoner’s Dilemma which I’ll focus on for the rest of this article. In his book Prisoner’s Dilemma, William Poundstone described a game that was roughly viz; two members of a crime outfit are arrested by law enforcement agents on charges of a serious crime and locked in separate cells with no way of communicating with one another. The serious crime carries a potential prison term of 3 years, but police do not have concrete evidence of their participation in the crime and would be forced to give them lighter sentences of 1 year instead, for a lesser crime. They approach each prisoner with a deal; <em>confess (and betray the other prisoner) and receive a pardon while the other prisoner serves the 3-year term</em>. The catch though, is that both prisoners would serve 2-year terms if they both spilled the beans. So you get no jail time if you snitch, 1 year if you both keep mute, 2 years if you both confess or 3 years if you get snitched on. That’s a head-scratcher, isn’t it?</p><p>As a team, the best result would come from both prisoners staying silent. However, with no trust, no way to know what the other prisoner would choose, and the guarantee that this is a one-time interaction, the dominant strategy is to snitch on the other person since this carries the greatest personal reward no matter the scenario. An example of this in real life was the climate-change impasse of 2007. Obviously, the planet as a whole would benefit from clean energy and the reduction of greenhouse emissions. However, cutting down carbon emissions comes with a financial risk for the countries involved and most countries picked their immediate gains over the possible merit that would come from all countries agreeing to cut emissions.</p><p>In real life, however, most interactions are not one-off and the outcomes of previous interactions influence present decisions and strategies. This changes the problem significantly as shown by Professor Robert Axelrod’s tournament. He asked leading game theorists at the time to write programs, called strategies, that would face off against one another in a scenario similar to the prisoner’s dilemma. Players A and B are presented with the option to either ‘cooperate’ or ‘defect’ in order to get as many points as possible during the tournament. If both players cooperate, they get 3 points each. If they both defect, they get 1 point each. If Player A defects and Player B cooperates, A gets 5 points while B gets 0 and vice versa. While defecting would possibly be the best option in a game of one round, unlike the first example, each matchup would play the game 200 times, drawing insights from the previous choices their opponents made. This means that if A defects in one round, B could hold a grudge and defect in the next or even lose trust completely and defect till the end. With various theorists attempting the problem with different strategies, the outcomes were endless, but I’ll give you a summarized version.</p><p>Some strategies were mischievous and would defect at ‘random’ (not mathematically random) times to win more points or to find a weakness in their opponent to exploit. Some others would cooperate with their opponent until the opponent defected. One of the latter strategies called ‘Tit for Tat’, would always begin games by cooperating with the opponents and would continue to cooperate if the opponent did so too. If the opponent defected at any point though, it would defect on the next turn in retaliation. If the opponent went back to cooperating, Tit for Tat would follow; if not, it would reply to all of the opponent’s defects with a defect on the next turn — literally tit for tat. Axelrod’s ‘Sample’ strategy was similar in operation but would wait for two consecutive defects before retaliating. Quite patient, right? Some other models were not as forgiving and would continue to defect till the end of the game after the first defect from the opponent.</p><p>With each strategy playing 200 rounds against each of the other strategies and a copy of itself, a tournament was held for the highest points. This was rerun 4 extra times to confirm the results which were published. After making the results available to all the participants, Axelrod called for another tournament with similar rules except that this time, there was no way to know how many rounds they would play against each opponent. The results of the second tournament were published as well and confirmed the initial results. The strategies that appeared in the top ranks shared the following characteristics:</p><ul><li>Nice: Strategies that cooperated with others and never drew first blood fell under this category. Those who eventually defected did so in retaliation.</li><li>Forgiving: This referred to strategies that defected in retaliation but continued cooperating as long as the opponent cooperated.</li><li>Provokable: Strategies that refused being taken advantage of by paying defect with defect when pushed fell under this category.</li><li>Clear: The study found that having a recognizable modus operandi made it easier for the opponents to “trust” strategies and develop a cause-and-effect rhythm as opposed to strategies whose motives were unclear or ‘random’.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/1*evBvqk8y4Q1w_tOcFKF23A.png" /></figure><p>The ‘Tit for Tat’ (TFT) strategy wound up on top at the end of both tournaments and the reason is obvious. While the strategy dished out instant karma to defectors, it never struck first and it forgave after returning each blow. It was nice, but not a pushover, cooperating as much as it could manage. Studies showed that when errors, such as cooperation mistaken for defection, were introduced into the system, TFT would perform sub-optimally. This could be remedied in different ways; one would be to fix the communication problem, hence getting rid of the error. Another would be reducing retaliation to 9 times out of 10, showing more forgiveness. In human contexts, this would be akin to showing initiative or being the bigger person, in an attempt to break out of a cycle of retaliation.</p><p>The effect of this study has been observed in various animal species and in humans as well. It has been found that the nice, forgiving, and retaliatory entities “win” against the crafty, selfish entities, in the long run. So it just might be in your best interest to be the nice guy who is no pushover. But what do you think? Should we all strive to be more like TFT? Should we be 10% more forgiving? Or should we prioritize personal gain from the word go?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e915002d8d8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>