<?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 Asima Noreen .Msc Mathematics on Medium]]></title>
        <description><![CDATA[Stories by Asima Noreen .Msc Mathematics on Medium]]></description>
        <link>https://medium.com/@asimanoreen?source=rss-9983ba3d25e2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*oyuBx7xMI-5hFIimbTzdDg.jpeg</url>
            <title>Stories by Asima Noreen .Msc Mathematics on Medium</title>
            <link>https://medium.com/@asimanoreen?source=rss-9983ba3d25e2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 21:13:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@asimanoreen/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 Fog, The Mountain, and The Math: How AI Secretly Teaches Itself to Think.]]></title>
            <link>https://medium.com/@asimanoreen/the-fog-the-mountain-and-the-math-how-ai-secretly-teaches-itself-to-think-9c0bef04cd76?source=rss-9983ba3d25e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c0bef04cd76</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Asima Noreen .Msc Mathematics]]></dc:creator>
            <pubDate>Fri, 07 Aug 2026 10:24:10 GMT</pubDate>
            <atom:updated>2026-08-07T10:41:18.624Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Every breakthrough in Artificial Intelligence—from ChatGPT to self-driving cars—relies on a single, 300-year-old calculus trick. Here is how machines actually learn from their mistakes.</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*Tuvorj9FOUfeDmNjZ5QATA.png" /></figure><p>Imagine finding yourself stranded on the peak of a jagged mountain in the dead of night. A dense, unforgiving fog settles in around you, obscuring visibility down to absolute zero. You cannot see two inches past your boots. Yet, you need to reach the safety of the valley floor at the very bottom. You have no map, no flashlights, and no compass.<br>How do you survive?<br>You stop trying to look ahead. Instead, you use the soles of your feet. You feel the slope of the ground beneath you. You take a cautious step in whichever direction slopes most steeply downward. Step by step, angle by angle, you feel your way down through the pitch-black terrain until your feet finally touch flat ground.</p><p><strong>This is not just a survival exercise—this is the exact mathematical algorithm powering every single Artificial Intelligence model on Planet Earth.</strong></p><p>In the AI world, this process is called Gradient Descent, and it is the hidden engine behind modern machine learning.</p><p><strong>The Blind Genius: How Machines Make Guesses</strong></p><p>When an AI model is first built, it knows absolutely nothing. It is functionally brainless. If you feed an untrained neural network a picture of a cat, it might guess &quot;airplane.&quot; If you ask it to predict the next word in a sentence, it spits out absolute gibberish.<br>To turn that random guessing machine into a supercomputer, engineers use a mathematical scorecard called a Loss Function.<br>The Loss Function measures one thing: How embarrassingly wrong was the AI’s guess?<br>When the AI predicts &quot;airplane&quot; for a cat, its Loss Score is sky-high—it is sitting at the very top of that foggy mountain.<br>The ultimate goal of the AI is to drive that Loss Score down to zero—to reach the bottom of the valley, where its errors disappear.</p><p><strong>Key Takeaway: AI models do not possess human wisdom. They do not &quot;understand&quot; concepts the way we do. They are simply mathematical optimization routines desperately trying to bring their error score down to zero.</strong></p><p>Enter Calculus: The Compass in the Dark<br>How does a computer know which direction lowers its error? It cannot &quot;see&quot; the entire landscape of possibilities at once.<br>This is where Multivariate Calculus steps in.<br>By taking the derivative (or more accurately, the gradient) of the Loss Function, the computer calculates the exact slope of its current error.<br>The Gradient tells the AI two critical things: which direction is downhill, and how steep the drop is.<br>If the gradient is positive, the AI adjusts its internal parameters (called Weights) in the opposite direction.<br>If the gradient is steep, the AI knows it is far from the answer and needs to make significant adjustments.<br>Without calculus, an AI would have to guess blindly in billions of directions at once—a process that would burn through all the world’s computing power in minutes without finding a solution.</p><p><strong>Key Takeaway: Derivatives act as the machine’s eyes in the dark. A gradient doesn’t tell the AI where the bottom of the mountain is; it simply points toward the steepest step downward right now.</strong></p><p><strong>The Goldilocks Paradox: The Danger of Step Size.</strong></p><p>Calculating the downhill direction is only half the battle. The AI must also decide how big of a step to take. In machine learning, this step size is known as the Learning Rate (\alpha).<br>Getting the Learning Rate right is a brutal balancing act:<br><strong>If the step size is too large</strong>: The AI takes massive, overconfident leaps. Instead of walking down the mountain, it leaps right over the valley floor and crashes into the peak on the opposite side. It wildly oscillates and fails to learn anything.<br><strong>If the step size is too small</strong>: The AI takes tiny, microscopic baby steps. It might take months or millions of dollars in electricity costs just to move a few inches down the slope.<br>The Goldilocks Zone: The AI takes large steps when it is high up on the mountain, and automatically shrinks its steps as it gets closer to the valley floor so it doesn’t overshoot the true answer.</p><p><strong>Key Takeaway: An AI’s intelligence depends entirely on its Learning Rate. Walk too fast, and you jump over the truth; walk too slow, and you run out of time before ever reaching it</strong>.</p><p>The Trap: Local Minima and the Illusion of Success<br>Even when the gradient points downhill and the step size is perfect, the mountain landscape of modern AI is rarely a smooth, simple bowl. It is full of false bottoms, small dips, and random potholes known as Local Minima.<br>An AI walking down the mountain might step into a shallow ditch, feel that every direction around it goes slightly uphill, and foolishly assume: &quot;I have reached the lowest point on the mountain!&quot;<br>In reality, the true valley floor (the Global Minimum) is still thousands of feet below, hidden just over the next ridge.<br>To overcome this, modern AI developers use advanced mathematical tweaks like Momentum and Adam Optimizers. These give the AI mathematical &quot;velocity&quot;—allowing it to use its momentum to roll right out of small potholes so it can keep searching for the true lowest point.</p><p><strong>Key Takeaway: The hardest challenge in AI engineering isn’t teaching a computer to learn—it’s preventing the computer from getting tricked by a temporary success and stopping too early</strong>.</p><p><strong>The Reality Behind Modern Artificial Intelligence</strong><br>When you read headlines about AI changing the world, it is easy to picture sci-fi algorithms thinking like humans. But open up the code under the hood of ChatGPT, Midjourney, or Tesla’s Autopilot, and you won’t find consciousness.<br>You will find millions of numbers continually adjusting themselves using Gradient Descent.<br>It is a process of relentless, step-by-step error correction driven by simple calculus. AI learns not through flashes of genius, but by making trillions of mistakes, feeling the slope of its errors, and taking one small, precise step downhill at a time.<br>If you found this deep-dive valuable, save this post, share it with your network, or drop your thoughts in the comments below!</p><p>​</p><p>​</p><p>​</p><p>​</p><p>​</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c0bef04cd76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How AI Predicts Your Next Word: The Magic of Probability Behind Modern Tech.]]></title>
            <link>https://medium.com/@asimanoreen/how-ai-predicts-your-next-word-the-magic-of-probability-behind-modern-tech-afa6961a7423?source=rss-9983ba3d25e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/afa6961a7423</guid>
            <category><![CDATA[tech-articles]]></category>
            <category><![CDATA[linear-algebra]]></category>
            <category><![CDATA[maths-tuition]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[maths-tutor]]></category>
            <dc:creator><![CDATA[Asima Noreen .Msc Mathematics]]></dc:creator>
            <pubDate>Thu, 06 Aug 2026 07:32:52 GMT</pubDate>
            <atom:updated>2026-08-06T07:32:52.430Z</atom:updated>
            <content:encoded><![CDATA[<p>The Invisible Brain Inside Your Phone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*q6C0Bjja8ISkBlnsha2cZQ.jpeg" /></figure><p>When you start typing &quot;I will call you...&quot; on your phone and the keyboard instantly suggests &quot;later&quot;, it isn’t magic. Behind that simple suggestion lies a sophisticated mathematical engine driven entirely by Probability.<br>Modern Artificial Intelligence—whether it is ChatGPT, Google search autocomplete, or your smartphone’s predictive text—does not &quot;think&quot; or &quot;comprehend&quot; language the way humans do. At its core, AI is a powerful statistical engine that continuously calculates what word should come next based on patterns in data</p><p>.1. Everyday Example: The Rainy Day Prediction</p><p>We use probability in our daily lives without even realizing it. Imagine waking up, looking out the window, and seeing dark, overcast clouds. Without pulling out a calculator, you instinctively grab an umbrella before heading out. Why? Because based on your past experience, you estimated a 80% chance of rain.<br>AI operates on the exact same logic:<br>It has analyzed billions of lines of written text.<br>When you give it a prompt, it scans its past data to determine which word has the highest statistical chance of following your input</p><p>We use probability in our daily lives without even realizing it. Imagine waking up, looking out the window, and seeing dark, overcast clouds. Without pulling out a calculator, you instinctively grab an umbrella before heading out. Why? Because based on your past experience, you estimated a 80% chance of rain.</p><p>​AI operates on the exact same logic:</p><p>​It has analyzed billions of lines of written text.</p><p>​When you give it a prompt, it scans its past data to determine which word has the highest statistical chance of following your input</p><p>2. How Language Models Use Conditional Probability</p><p>The foundational building block of modern language AI is Conditional Probability. Simply put, it answers the question: &quot;Given that certain words have already appeared, what is the probability of the next word?&quot;<br>Mathematically, this is expressed as:</p><p>P(W_n \mid W_1, W_2, \dots, W_{n-1})</p><p>A Daily Life Scenario:<br>Imagine you type: &quot;First thing in the morning, I drink a hot cup of...&quot;<br>The AI calculates the probability distribution for the next possible word:<br>Coffee / Tea: 85% probability<br>Water: 10% probability<br>Engine Oil: 0.0001% probability<br>By evaluating all the preceding words (W_1, W_2, \dots, W_{n-1}), the model picks the most probable option (Coffee or Tea).<br>3. Softmax Function: Turning Raw Data into Percentages<br>When an AI processes text, its internal layers first produce raw numerical scores called logits (for example: Coffee = 9.2, Water = 3.1). However, raw numbers are difficult to compare directly across vast vocabularies. The AI needs a clean probability distribution where all options add up to 100%.<br>This is where the Softmax Function comes in:</p><p>\text{Softmax}(z_i) = \frac{e^{z_i}}{\sum_{j} e^{z_j}}</p><p>In Simple Terms:<br>The Softmax function takes all the raw scores, scales them exponentially, and converts them into clean percentages between 0\% and 100\% (0.0 to 1.0), ensuring that the total probability of all possible words equals 100\%.<br>4. The &quot;Creativity&quot; Dial: Understanding Temperature in AI<br>If an AI always chose the word with the absolute highest probability (100\% determinism), every story or answer it generated would sound repetitive, robotic, and plain. To fix this, engineers use a setting called Temperature.<br>Low Temperature (0.1 – 0.3): The model strictly chooses the top probable words.<br>Example: &quot;The sun rises in the east.&quot; (Ideal for coding, mathematics, and factual queries).<br>High Temperature (0.7 – 1.0): The model introduces randomness, occasionally choosing lower-probability words.<br>Example: &quot;The sun rises like a flaming beacon.&quot; (Ideal for creative writing, poetry, and storytelling).<br>Conclusion<br>The next time you interact with ChatGPT or rely on auto-correct, remember that there is no conscious mind behind the screen. It is an impressive harmony of probability, calculus, and massive computing power—calculating millions of possibilities every fraction of a second to keep the conversation going.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afa6961a7423" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Engine: How Mathematics Actually Powers Modern AI.]]></title>
            <link>https://medium.com/@asimanoreen/the-hidden-engine-how-mathematics-actually-powers-modern-ai-4e0c42d1e0b6?source=rss-9983ba3d25e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e0c42d1e0b6</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Asima Noreen .Msc Mathematics]]></dc:creator>
            <pubDate>Wed, 05 Aug 2026 17:24:37 GMT</pubDate>
            <atom:updated>2026-08-05T17:24:37.494Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*ZH6-HNLfPnsKkWsvtEgHzA.jpeg" /></figure><p>A simple, jargon-free breakdown of vectors, matrices, and dot products for tech enthusiasts</p><p>Turning Words into Numbers (Vectors)<br>Computers do not understand human words, grammar, or semantics—they only process numbers. To solve this, AI models assign every word a specific coordinate in a multidimensional mathematical space, known as a Vector (a simple list of numbers).<br>For example, instead of seeing the word &quot;King&quot;, the AI sees a sequence like [0.25, 0.88, -0.12]. Because words with similar meanings share similar numerical patterns, the AI can actually perform basic arithmetic on concepts. A famous example in Natural Language Processing is:</p><p>\text{Vector(&quot;King&quot;)} - \text{Vector(&quot;Man&quot;)} + \text{Vector(&quot;Woman&quot;)} \approx \text{Vector(&quot;Queen&quot;)}</p><p>Through simple vector math, the computer grasps relationships between human concepts without ever &quot;reading&quot; a single letter.</p><p>Example 2: Processing Massive Context instantly (Matrices)<br>Processing one word at a time is far too slow for complex conversations. When you feed an entire paragraph or prompt into ChatGPT, it needs to analyze hundreds of words simultaneously.<br>This is where Matrices (grids of numbers) come in. By arranging thousands of word vectors into structured rows and columns, the AI performs Matrix Multiplication. This allows the model to process massive datasets in parallel rather than sequentially, acting as the high-speed engine that drives modern AI training.<br>Example 3: Predicting the Next Word (The Dot Product)<br>How does an AI model decide which word should naturally follow another in a sentence? It uses a foundational concept from Linear Algebra called the Dot Product.<br>The Dot Product measures the similarity or geometric angle between two vectors.<br>If two words are strongly related in context (like &quot;Coffee&quot; and &quot;Cup&quot;), their dot product yields a high score.<br>If two words are unrelated (like &quot;Coffee&quot; and &quot;Submarine&quot;), their dot product score is near zero.<br>By constantly calculating dot products across billions of parameters—a process known as the Attention Mechanism—the AI determines which words carry the most weight and predicts the logical next word in real time.</p><p>&quot;If you enjoyed this simple breakdown of AI mathematics, follow me for weekly insights on how math shapes modern technology!&quot;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e0c42d1e0b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>