Close Menu
    Trending
    • Gemini introducerar funktionen schemalagda åtgärder i Gemini-appen
    • AIFF 2025 Runway’s tredje årliga AI Film Festival
    • AI-agenter kan nu hjälpa läkare fatta bättre beslut inom cancervård
    • Not Everything Needs Automation: 5 Practical AI Agents That Deliver Enterprise Value
    • Prescriptive Modeling Unpacked: A Complete Guide to Intervention With Bayesian Modeling.
    • 5 Crucial Tweaks That Will Make Your Charts Accessible to People with Visual Impairments
    • Why AI Projects Fail | Towards Data Science
    • The Role of Luck in Sports: Can We Measure It?
    ProfitlyAI
    • Home
    • Latest News
    • AI Technology
    • Latest AI Innovations
    • AI Tools & Technologies
    • Artificial Intelligence
    ProfitlyAI
    Home » Beyond Glorified Curve Fitting: Exploring the Probabilistic Foundations of Machine Learning
    Artificial Intelligence

    Beyond Glorified Curve Fitting: Exploring the Probabilistic Foundations of Machine Learning

    ProfitlyAIBy ProfitlyAIMay 1, 2025No Comments12 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    a math formulation you don’t instantly perceive.

    Your intuition? Cease studying.

    Don’t.

    That’s precisely what I instructed myself once I began studying Probabilistic Machine Studying – An Introduction by Kevin P. Murphy.

    And it was completely price it.

    It modified how I take into consideration machine studying.

    Certain, some formulation may look difficult at first look.

    However let’s take a look at the formulation to see that what it describes is straightforward.

    When a machine studying mannequin makes a prediction (for instance, a classification), what’s it actually doing?

    It’s distributing possibilities throughout all potential outcomes / lessons.

    And people possibilities should at all times add as much as 100 % — or 1.

    Let’s check out an instance: Think about we present the mannequin a picture of an animal and ask: “What animal is that this?”

    The mannequin may reply:

    • Cat: 85%
    • Canine: 10%
    • Fox: 5%

    Add them up?
    Precisely 100%.

    This implies the mannequin believes it’s most definitely a cat — nevertheless it’s additionally leaving a small likelihood for canine or fox.

    This easy formulation reminds us that machine studying fashions cannot solely give us a solution (=It’s a cat!), but additionally reveal how assured they’re of their prediction.

    And we are able to use this uncertainty to make higher choices.

    Personal visualization — Illustrations from unDraw.com.

    Desk of Contents
    1 What does machine learning from a probabilistic view mean?
    2 So, what is supervised learning?
    3 So, what is unsupervised learning?
    4 So, and what is reinforcement learning?
    5 From a mathematical perspective: What are we actually learning?
    Final Thought — What’s the point of understanding the probabilistic view anyway?
    Where Can You Continue Learning?

    What does machine studying from a probabilistic view imply?

    Tom Mitchell, an American pc scientist, defines machine studying as follows:

    > A pc program is claimed to study from expertise E with respect to some class of duties T, and efficiency measure P, if its efficiency at duties in T, as measured by P, improves with expertise E.

    Let’s break this down:

    • T (Process): The duty to be solved, akin to classifying photographs or predicting the quantity of electrical energy wanted for buying.
    • E (Expertise): The expertise the mannequin learns from. For instance, coaching knowledge akin to photographs or previous electrical energy purchases versus precise consumption.
    • P (Efficiency Measure): The metric used to judge efficiency, akin to accuracy, error charge or imply squared error (MSE).

    The place does the probabilistic view are available in?

    In classical machine studying, a worth is usually merely predicted:

    > “The home worth is 317k CHF.”

    The probabilistic view, nevertheless, focuses on studying chance distributions.

    As an alternative of producing fastened predictions, we’re focused on how possible which completely different outcomes (on this instance costs) are.

    All the pieces that’s unsure — outputs, parameters, predictions — is handled as a random variable. 

    Within the case of a home worth, there may nonetheless be negotiation alternatives or dangers which can be mitigated by means of mechanisms like insurance coverage.

    However let’s now take a look at an instance the place it’s actually essential for good choices that the uncertainty is explicitly modelled:

    Think about an power provider who must resolve at this time how a lot electrical energy to purchase.

    The uncertainty lies in the truth that power demand relies on many elements: temperature, climate, the financial scenario, industrial manufacturing, self-production by means of photovoltaic methods and so forth. All of that are unsure variables.

    And the place does chance assist us now?

    If we rely solely on a single greatest estimate, we threat both:

    • that we have now an excessive amount of power (resulting in pricey overproduction).
    • that we have now too little power (inflicting a provide hole).

    With a chance calculation, alternatively, we are able to plan that there’s a 95% chance that demand will stay beneath 850 MWh, for instance. And this, in flip, permits us to calculate the protection buffer appropriately — not based mostly on a single level prediction, however on your entire vary of potential outcomes.

    If we have now to make an optimum choice beneath uncertainty, that is solely potential if we explicitly mannequin the uncertainty.

    Why is that this vital?

    • Making higher choices beneath uncertainty:
      If our mannequin understands uncertainty, we are able to higher weigh dangers. For instance, in credit score scoring, a buyer labelled as an ‘unsafe buyer’ may set off further verification steps.
    • Growing belief and interpretability:
      For us people, possibilities are extra tangible than inflexible level predictions. Probabilistic outputs assist stakeholders perceive not solely what a mannequin predicts, but additionally how assured it’s in its predictions.

    To know why the probabilistic view is so highly effective, we have to take a look at how machines really study (Supervised Studying, Unsupervised Studying or Reinforcement Learning). So, that is subsequent.


    Many machine studying fashions are deterministic — however the world is unsure:

    So, what’s supervised studying?

    In easy phrases, Supervised Learning signifies that we have now examples — and for every instance, we all know what it means.

    As an example:

    > Should you see this image (enter x), then the flower is known as Setosa (output y).

    The purpose is to discover a rule that makes good predictions for brand new, unseen inputs. Typical examples of supervised studying duties are classification or regression.

    What does the probabilistic view add?

    The probabilistic view reminds us that there isn’t any absolute certainty in the actual world.

    In the actual world, nothing is completely predictable.

    • Typically info is lacking — this is named epistemic uncertainty.
    • Typically the world is inherently random — this is named aleatoric uncertainty.

    Subsequently, as a substitute of working with a single ‘fastened reply’, probabilistic fashions work with possibilities:

    > “The mannequin is 95% sure to be a Setosa.”

    This manner, the mannequin doesn’t simply guess, but additionally expresses how assured it’s.

    And what concerning the No Free Lunch Theorem?

    In machine studying, there isn’t any single “greatest technique” that works for each drawback.

    The No Free Lunch Theorem tells us:

    > If an algorithm performs significantly nicely on a sure sort of activity, it’ll carry out worse on different sorts of duties.

    Why is that?

    As a result of each algorithm makes assumptions concerning the world. These assumptions assist in some conditions — and damage in others.

    Or as George Box famously stated:

    > All fashions are fallacious, however some fashions are helpful.

    Supervised studying as “glorified curve becoming”

    J. Pearl describes supervised studying as ‘glorified curve becoming’.

    What he meant is that supervised studying is, at its core, about connecting recognized factors (x, y) as easily as potential — like drawing a intelligent curve by means of knowledge.

    In distinction, Unsupervised Learning is about making sense of the info with none labels — attempting to know the underlying construction with out a predetermined goal.

    So, what’s unsupervised studying?

    Unsupervised studying signifies that the mannequin receives knowledge — however no explanations or labels.

    For instance:

    When the mannequin sees a picture (enter x), it’s not instructed whether or not it’s a Setosa, Versicolor or Virgnica.

    The mannequin has to search out out for itself whether or not there are teams, patterns or buildings within the knowledge. A typical instance of unsupervised studying is clustering.

    The purpose is subsequently to not study a set rule, however to raised perceive the hidden construction of the world.

    How does the probabilistic view assist us right here?

    We aren’t attempting to say:

    > “This image is certainly a Setosa.”

    however moderately:

    > “What buildings or patterns are most likely hidden within the knowledge?”

    Probabilistic pondering permits us to seize uncertainty and variety in potential explanations. As an alternative of forcing a tough classification, we mannequin prospects.

    Why do we’d like unsupervised studying?

    Typically there aren’t any labels for the info — or they might be very costly or troublesome to gather (e.g. medical diagnoses).

    Typically the classes usually are not clearly outlined (for instance, when precisely an motion begins and when it’s completed).

    Or typically the duty of the mannequin is to find patterns that we don’t but recognise ourselves.

    Let’s take a look at an instance:

    Think about we have now a group of animal photographs — however we don’t inform the mannequin which animal is proven.

    The duty is: The mannequin ought to group comparable animals collectively. Purely based mostly on patterns it might probably detect.

    So, and what’s reinforcement studying?

    Reinforcement studying signifies that a system learns from expertise by performing and receiving suggestions about whether or not its actions had been good or unhealthy.

    In different phrases:

    • The system sees a scenario (enter x).
    • The system selects an motion (a).
    • The system receives a reward or punishment.

    In easy phrases, it’s really much like how we prepare a canine.

    Let’s check out an instance:

    A robotic is attempting to discover ways to stroll. It tries out varied actions. If the roboter falls over, it learns, that motion was unhealthy. If the robotic manages just a few steps, it will get a optimistic reward.

    Behind the scenes, the robotic builds a method or a rule referred to as a coverage π(x):

    > “In scenario x, select motion a.”

    Initially, these guidelines are purely random or very unhealthy. The robotic is within the exploration section to search out out what works and what doesn’t. By way of every expertise (e.g. falling or strolling), the robotic receives suggestions (rewards) akin to +1 level for standing upright, -10 factors for falling over. 

    Over time, the robotic adjusts its coverage to want actions that result in increased cumulative rewards. It adjustments its rule π(x) to make extra out of fine experiences and keep away from unhealthy experiences.

    What’s the robotic’s purpose?

    The robotic desires to search out actions that deliver the best reward over time (e.g. staying upright, transferring forwards).

    Mathematically, the robotic tries to maximise its anticipated future reward worth.

    How does the probabilistic view assist us?

    The system (on this instance the robotic) usually doesn’t know precisely which of its many actions has led to the reward. Because of this it has to study beneath uncertainty which methods (insurance policies) are good.

    In reinforcement studying, we’re subsequently attempting to study a coverage:

    π(x)

    This coverage defines, which motion ought to the system carry out during which scenario to maximise rewards over time.

    Why is reinforcement studying so fascinating?

    Reinforcement studying mirrors the best way people and animals study.

    It’s excellent for duties the place there aren’t any clear examples, however the place enchancment comes by means of expertise.

    The movie AlphaGo and the breakthrough are based mostly on reinforcement studying.

    From a mathematical perspective: What are we really studying?

    Once we discuss a mannequin in machine studying, we imply greater than only a operate within the probabilistic view.

    A mannequin is a distributional assumption concerning the world.

    Let’s check out the classical view:

    A mannequin is a operate f(x)=y that interprets an enter into an output.

    Let’s now check out the probabilistic view:

    A mannequin explicitly describes uncertainty — for instance in f(x)=p(y∣x).

    It isn’t about offering one “greatest reply”, however about modelling how possible completely different solutions are.

    • In supervised studying, we study a operate that describes the conditional chance p(y|x):
      The chance of a label y, given an enter x.
      We ask: “What’s the right reply to this enter?”
      Method: f(x)=p(y∣x)
    • In unsupervised studying, we study a operate that describes the chance distribution p(x) of the enter knowledge:
      The chance of the info itself, with out specific goal values.
      We ask, ‘How possible is that this knowledge itself?’.
      Method: f(x)=p(x)
    • In reinforcement, we study a coverage π(x) that determines the optimum motion a for a state x:
      A rule that implies an motion a for each potential state x, which brings as a lot reward as potential in the long run.
      We ask: ‘Which motion must be carried out now in order that the system receives one of the best reward in the long run?
      Method: a=π(x)

    On my Substack, I repeatedly write summaries concerning the printed articles within the fields of Tech, Python, Knowledge Science, Machine Studying and AI. Should you’re , have a look or subscribe.


    Closing Thought — What’s the purpose of understanding the probabilistic view, anyway?

    In the actual world, nearly nothing is really sure.

    Uncertainty, incomplete info and randomness characterise each choice we make.

    Probabilistic machine studying helps us to take care of precisely that.

    As an alternative of simply attempting to be “extra correct”, a probabilistic strategy turns into:

    1. Extra strong towards errors and uncertainties.
      For instance, in a medical diagnostic system, we wish a mannequin that signifies its uncertainty (‘it’s 60 % sure that it’s most cancers’) as a substitute of creating a set prognosis. On this approach, further checks could be carried out if there’s a excessive diploma of uncertainty.
    2. Extra versatile and subsequently extra adaptable to new conditions.
      For instance, a mannequin that fashions climate knowledge probabilistically can react extra simply to new local weather circumstances as a result of it learns about uncertainties.
    3. Extra understandable and interpretable, in that fashions not solely give us a solution, but additionally how sure they’re.
      For instance, in a credit score scoring system, we are able to present stakeholders that the mannequin is 90% sure {that a} buyer is creditworthy. The remaining 10% uncertainty is explicitly communicated — this helps with clear choices and threat assessments.

    These benefits make probabilistic fashions extra clear, reliable and interpretable methods (as a substitute of black field algorithms).

    The place Can You Proceed Studying?



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleWhy Are Convolutional Neural Networks Great For Images?
    Next Article Reinforcement Learning from One Example?
    ProfitlyAI
    • Website

    Related Posts

    Artificial Intelligence

    Not Everything Needs Automation: 5 Practical AI Agents That Deliver Enterprise Value

    June 6, 2025
    Artificial Intelligence

    Prescriptive Modeling Unpacked: A Complete Guide to Intervention With Bayesian Modeling.

    June 6, 2025
    Artificial Intelligence

    5 Crucial Tweaks That Will Make Your Charts Accessible to People with Visual Impairments

    June 6, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    AI model deciphers the code in proteins that tells them where to go | MIT News

    April 5, 2025

    AI Influencers Are Winning Brand Deals, Is This the End of Human Influence?

    May 2, 2025

    Shaip Democratizes Access to Critical Healthcare Data Through Partnership with Databricks Marketplace

    April 5, 2025

    Microsoft släpper sin egen AI-sökmotor kallad Copilot Search

    April 4, 2025

    Creating a common language | MIT News

    April 5, 2025
    Categories
    • AI Technology
    • AI Tools & Technologies
    • Artificial Intelligence
    • Latest AI Innovations
    • Latest News
    Most Popular

    How I Built Business-Automating Workflows with AI Agents

    May 7, 2025

    Can deep learning transform heart failure prevention? | MIT News

    April 5, 2025

    Kernel Case Study: Flash Attention

    April 3, 2025
    Our Picks

    Gemini introducerar funktionen schemalagda åtgärder i Gemini-appen

    June 7, 2025

    AIFF 2025 Runway’s tredje årliga AI Film Festival

    June 7, 2025

    AI-agenter kan nu hjälpa läkare fatta bättre beslut inom cancervård

    June 7, 2025
    Categories
    • AI Technology
    • AI Tools & Technologies
    • Artificial Intelligence
    • Latest AI Innovations
    • Latest News
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2025 ProfitlyAI All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.