<?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 GrowTogether on Medium]]></title>
        <description><![CDATA[Stories by GrowTogether on Medium]]></description>
        <link>https://medium.com/@growtogether0825?source=rss-8101665f1a80------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*kYrb0szZeFAap0XQ</url>
            <title>Stories by GrowTogether on Medium</title>
            <link>https://medium.com/@growtogether0825?source=rss-8101665f1a80------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:29:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@growtogether0825/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[Why Probability Matters in ML]]></title>
            <link>https://medium.com/@growtogether0825/why-probability-matters-in-ml-966be4ec144c?source=rss-8101665f1a80------2</link>
            <guid isPermaLink="false">https://medium.com/p/966be4ec144c</guid>
            <category><![CDATA[corollary]]></category>
            <category><![CDATA[probablity]]></category>
            <category><![CDATA[bayes-theorem]]></category>
            <category><![CDATA[conditional-probability]]></category>
            <dc:creator><![CDATA[GrowTogether]]></dc:creator>
            <pubDate>Tue, 02 Sep 2025 16:44:49 GMT</pubDate>
            <atom:updated>2025-09-02T16:45:23.799Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine you are trying to build an AI to diagnose a disease based on a patient’s symptoms. The model doesn’t just say, “This patient has Disease X.” Instead, It says, “Based on these symptoms, there’s a 95% chance that the patient had Disease X, a 4% chance they have Disease Y, and 1% chance they have something else.”</p><p>This probability in action. It lets us quantify our confidence in prediction, allowing us to make more informed decisions. It’s not just about what is most likely to happen, but also how likely other things are to happen.</p><h4>Probability Models and Axioms</h4><p>This is where we build the fundamental rules of the game.</p><p><strong>Sample Space(Ω):</strong></p><p><em>What it is:</em> The sample space is the set of all possible outcomes of an experiment. It’s the universe of all things that could happen.</p><p><em>Analogy:</em> If you flip a coin, the sample space is {Head, Tails}. If you roll a six-sided die, the sample space is {1, 2, 3, 4, 5, 6}.</p><p><em>Why it matters:</em> It defines the scope of our problem. We need to be sure we have included every possible outcome and that they are distinct(mutually exclusive) and at the right level of detail.</p><p><strong>Event:</strong></p><p><em>What it is: </em>An event is a specific outcome or a collection of outcomes from the sample space. It’s a subset of Sample space(Ω).</p><p><em>Analogy: </em>In a die roll, an event could be “rolling an even number”. The subset would be {2, 4, 6}.</p><p><em>How it’s used: </em>We assign probabilities to events, not individual outcomes. This is a crucial distinction. For Example, the probability of “rolling an even number”, not just the probability of “rolling a 2”.</p><p><strong>Probability Axioms:</strong></p><p><em>What they are:</em> These are the three core rules that all probability must follow. Think of them as the unshakeable foundation.</p><ol><li><strong>Nonnegativity(P(A) ≥ 0):</strong> Probability can’t be negative. The chance of something happens must be 0 or greater.</li><li><strong>Normalization(P(Ω) = 1): </strong>The Total probability of all possible outcomes(the entire sample space) must equal to 1(or 100%). Something from the sample space has to happen.</li><li><strong>Countable Additivity(P(⋃i​Ai​)=∑i​P(Ai​)): </strong>If you have a collection of events that cannot happen at the same time(they are disjoint), the probability of at least one of them occurring is just the sum of their individual probabilities. This is a powerful rule.</li></ol><p><em>Why they matters:</em> These axioms ensure that our probability calculations are consistent and logical. The corollaries listed below are directly consequences of these three axioms</p><p>➊ P(∅) = 0.</p><p>➋ For any finite collection of disjoint events A1, . . . , An,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/283/1*gv6OiCZW5Sai8rUvEtt_eg.png" /></figure><p>➌ P(A) + P(Aᶜ) = 1.</p><p>➍ P(A) ≤ 1.</p><p>➎ If A ⊂ B, then P(A) ≤ P(B).</p><p>➏ P(A ∪ B) = P(A) + P(B) − P(A ∩ B)</p><p>➐ P(A ∪ B) ≤ P(A) + P(B)</p><h4>Conditional Probability and Bayes’ Rule</h4><p>This is where probability gets really interesting and becomes the engine of many AI systems.</p><p><strong>Conditional Probability(P(A|B)):</strong></p><p><em>What it is: </em>The probability of event A happening, given that event B has already happened. It’s a way to update our belief about A when we get new Information(B).</p><p><em>Analogy:</em> The probability of a person have a cold is say, 10%. But the probability of a person having a cold given that they are sneezing is much higher. The new information(“They are sneezing”) changes our belief.</p><p><em>The formula:</em> P(A|B) = P(A∩B)/P(B). This means we are looking at the probability of both A and B happening, but “zooming in” to only consider the outcomes where B has occurred. We are normalizing by the probability of B.</p><p><strong>Total Probability Theorem:</strong></p><p><em>What it is:</em> A way to calculate the total probability of an event by summing up the probability from different “parts”.</p><p><em>Analogy: </em>Imagine a factory with two machines, Machine A and Machine B. You know the probability that a product comes from each machine, and you also know the probability of a product being defective <em>given</em> it came from Machine A, and the probability of it being defective <em>given</em> it came from Machine B. The Total Probability Theorem lets you calculate the overall probability of a product being defective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*lz47YLvlBjemC8o2gsBOig.png" /></figure><p><strong>Bayes&#39; Rule:</strong></p><p><em>what it is:</em> A famous and powerful formula for revising our beliefs based on new evidence. It’s the logical extension of conditional probability. It allows us to flip the conditional relationship.</p><p>Analogy: A medical test is 100% accurate. We know the probability of a positive test given that the patient has the disease(<strong>P(Positive | Disease)</strong>). But what we really want to know is the probability that a patient has the disease given that they tested positive(<strong>P(Disease | Positive)</strong>). Bayes’ Rule provides the bridge between these two.</p><p>How it’s used in ML:</p><p>⦿ Prior Probability(P(Aᵢ)): Our initial belief or knowledge about the event before we see any data.</p><p>⦿ Likelihood(P(B | Aᵢ)): The probability of seeing the data(B), given our initial belief(Aᵢ).</p><p>⦿ Posterior Probability(P(Aᵢ | B)): Our updated, or “post-data”, belief. This is what we are solving for.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=966be4ec144c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Probability In ML]]></title>
            <link>https://medium.com/@growtogether0825/probability-in-ml-4637534c51f0?source=rss-8101665f1a80------2</link>
            <guid isPermaLink="false">https://medium.com/p/4637534c51f0</guid>
            <category><![CDATA[probability]]></category>
            <category><![CDATA[why-probability]]></category>
            <category><![CDATA[probability-distributions]]></category>
            <category><![CDATA[why-probability-in-aiml]]></category>
            <category><![CDATA[probability-in-ml]]></category>
            <dc:creator><![CDATA[GrowTogether]]></dc:creator>
            <pubDate>Mon, 01 Sep 2025 17:12:11 GMT</pubDate>
            <atom:updated>2025-09-02T15:06:07.696Z</atom:updated>
            <content:encoded><![CDATA[<p>In AIML, Probability deal with Uncertainty. In Since the real world is inherently uncertain, it’s fundamental to AI and ML. Unlike traditional programming where rules are deterministic(if-then-else), ML models must make educated guesses and reason about the likelihood of different outcomes. Probability provides the mathematical framework for this.</p><p>Lets take an Example, when a AI Model predicts that a email is “Spam”, It’s not saying “This is definitely spam”. Instead, it might output a probability, like a 95% chance of being spam. This probabilistic output allows the system to make a more nuanced, informed decision.</p><h4>Why probability is Essential for ML?</h4><ol><li><strong>Quantifying Uncertainty:</strong> The world is full of noise and randomness, Data can have errors, sensors can be imprecise, and future events are unknown. Probability allows us to model this uncertainty. It tells us not just what the most likely outcome is, but also how confident we should be in that prediction.</li><li><strong>Making Predictions:</strong> At its core, Machine learning is about making predictions. Probability gives us the tools to do this. For Example, A classification model that tells us if an image contains a cat or a dog uses probability to calculate the likelihood of each outcome. The model might predict a 90% probability of being a cat and a 10% probability of being a dog.</li><li><strong>Bayesian Inference(Updating Beliefs):</strong> Probability allows us to continuously update our model’s beliefs as it sees new data. This is a core principle of many probabilistic models.</li><li><strong>Foundation for Algorithms:</strong> Many classic and modern ML algorithms are built directly on probabilistic principles. The concepts are not just abstract theory; they are gears and levers makes these algorithms work.</li></ol><h4>Key Concepts</h4><p><strong>1. Random Variables: </strong>Imagine a game where you flip a coin three times. The number of heads you get is a random variable. It’s a variable because its value changes with each set of flips and it’s random because you can’t know the exact value beforehand, only the possible outcomes.</p><p>In ML, A random variable is used to represent a real-world event. For Example, the Age of a person could be a random varialbe, or the label of an image(e.g., cat or dog). We can’t know a new user’s exact age beforehand but we can model the probabilities of them being within certain age groups based on our data.</p><p><strong>2. Probability Distribution: </strong>A probability distribution is like a map that tells you the likelihood of every possible outcome of a random variable. For out coin flip game, the distribution tells use the chance of getting 0 heads, 1 head, 2 heads or 3 heads.</p><p>In ML, Probability distributions are used to model the data itself.:</p><p>The Normal(Gaussian Distribution) is incredibly common and often used to model continuous data, like people’s heights or test scores. Many algorithms assume data follows this distribution.</p><figure><img alt="Normal Distribution" src="https://cdn-images-1.medium.com/max/576/0*TOUwPoHYDOANlHS0" /></figure><p>The Bernoulli Distribution models a simple “Yes/No” or “Success/Failure” outcome, like whether a customer will click a link.</p><figure><img alt="Bernoulli Distribution" src="https://cdn-images-1.medium.com/max/710/0*FTJyoIPzZzt6tvXb.png" /></figure><p>The Categorical Distribution is used for classification problems, showing the probability of a data point belonging to each class(e.g., the probability of an image being a dog, cat or bird)</p><figure><img alt="Categorical Distribution" src="https://cdn-images-1.medium.com/max/1024/0*uyjl3KvD-mxDdrti.png" /></figure><p><strong>3. Baye’s Theorem: </strong>This theorem is a formal way to update you beliefs based on new evidence. Let’s say you are a detective. You initially believe there’s a small chance (let’s say 1%) that a suspect committed a crime. Then, you find a piece of evidence at the crime scene that is very likely (90% chance) to have come from your suspect, Bayes’ Theorem gives you a formula to combine your initial belief (the prior) with the new evidence (the likelihood) to calculate a new, updated belief (the posterior) that the suspect is guilty.</p><p>In ML, This is the foundation of Bayesian Machine Learning.</p><p>Naive Bayes Classifier is a popular Example. It uses Bayes’ Theorem to classify data points. For example, to classify an email as spam, it calculates:</p><ul><li>The probability of word appearing in a spam email</li><li>The probability of that word appearing in an non-spam email</li><li>The overall probability of any email being spam.</li><li>It then uses Bayes’ theorem to compute the final probability that the email is spam, given the words it contains.</li></ul><p>P(A/B) = (P(B/A).P(A))/P(B)</p><p>where.,</p><ul><li>P(A/B) is the posterior probability: The probability of A happening given that we have seen B.</li><li>P(B/A) is the likelihood: The probability of observing B if A is true.</li><li>P(A) is the prior probability: Our initial belief about the probability of A happening before we see any evidence.</li><li>P(B) is the evidence: The overall probability of seeing B.</li></ul><p>This simple formula is the core of how many intelligent systems can reason and adapt under uncertainty.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4637534c51f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Math is the Secret Language of AI]]></title>
            <link>https://medium.com/@growtogether0825/why-math-is-the-secret-language-of-ai-b41277e8f951?source=rss-8101665f1a80------2</link>
            <guid isPermaLink="false">https://medium.com/p/b41277e8f951</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-in-math]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[why-maths-in-aiml]]></category>
            <dc:creator><![CDATA[GrowTogether]]></dc:creator>
            <pubDate>Mon, 01 Sep 2025 16:06:36 GMT</pubDate>
            <atom:updated>2025-09-01T16:06:36.489Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine You are trying to teach a friend a new dance move. You could try to describe it with words alone. “First, you lift your right leg, then you hop on your left, and then you spin”. But what if you could write down the precise sequence of steps, the angle of each turn, and the exact timing? That’s math does for AI.</p><p>At its core, AI is not magic. It’s a sophisticated set of instructions and rules that we use to get a computer to learn from data. But a computer doesn’t understand words or feelings. It understands number.</p><p>Math is the language we use to tell the computer how to learn. It’s the universal vocabulary for describing pattern, relationships and uncertainties in data. Without math, we can’t build understand or improve a single AI Model.</p><h4><strong>An Easy Analogy: The “Find the Best Recipe” Game</strong></h4><p>Let’s say you want to bake a perfect chocolate chip cookie. You have a recipe with ingredients like flour, sugar, butter and chocolate chips. You have tried a few time, but the cookies are either too dry, too sweet or too hard.</p><p>You want to find the perfect mix of Ingredients. You could try every single possible combination, but that would take forever! Instead, you decide to be smart about it.</p><ul><li>You make a batch, and it’s too try. You realize you need more butter.</li><li>You make another batch with more butter, and it’s better, but a bit too sweet. You realize you need a little less sugar.</li><li>You keep making small, Intelligent adjustments based on the results of your last batch, until you find the perfect balance.</li></ul><p>This is exactly what an AI model does, but with math. The ingredients are our “data features” (like a person’s age, income, or a picture’s pixels). The “perfect cookie” is our successful prediction. The process of making “small, intelligent adjustments” is an optimization problem, and the only way a computer can do this with mathematical tools.</p><h4>Core Ideas in Plain Language: The Three Pillars of AI Math</h4><ol><li><strong>Linear Algebra: The Grammer of AI — </strong>This is the math of organizing and manipulating data. Think of it like a spreadsheed. All the information in a spreadsheet can be represented as a grid of numbers called matrix. Whether it’s a pixel values of an image, the features of a customer, or the weights of a neural network, everything is a Metrix. Linear algebra gives us the rules to add, subtract, and multiply these grids of numbers efficiently.</li><li><strong>Probability and Statistics: The Logic of Uncertainty </strong>— This is the math of making sense of randomness and patterns in data. In the real world, Nothing is 100% certain. For Example, Will It rain tomorrow? We can’t be sure, but we can say there’s an 80% chance. Probability and statistics allow AI models to quantify this uncertainty. They help us understand what’s likely and what’s not, to see if a pattern in our data is real trend or just a random fluke.</li><li><strong>Calculus: The Engine of Learning — </strong>This is the math of change and optimization. Remember our “perfect cookie” analogy? How do we know how much to change the amount of butter? Calculus gives us the tools to find the best way to adjust out model’s “ingredients” to make our predictions better. It helps us find the minimum point of an “error function”, which is just a fancy way of saying “the point where out model makes the fewest mistakes”.</li></ol><h4>Connecting to Real-World AIML</h4><p>● In Deep learning, the “weights” are the core building blocks. A neural network is nothing more than a series of matrices multiplied together over and over again. Linear Algebra is what makes it all work behind the scenes.</p><p>● In Computer Vision, an image is just a giant matrix of numbers representing pixel values. Operations like blurring or sharpening an image are specific types of matrix multiplications.</p><p>● In Natural Language Processing(NLP), words and sentences are converted into vectors(like arrays of numbers) so that a computer can understand them. This is how models like ChatGPT can understand language — they are just manipulating these vast arrays of numbers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b41277e8f951" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>