Close Menu
    Trending
    • Revisiting Benchmarking of Tabular Reinforcement Learning Methods
    • Is Your AI Whispering Secrets? How Scientists Are Teaching Chatbots to Forget Dangerous Tricks | by Andreas Maier | Jul, 2025
    • Qantas data breach to impact 6 million airline customers
    • He Went From $471K in Debt to Teaching Others How to Succeed
    • An Introduction to Remote Model Context Protocol Servers
    • Blazing-Fast ML Model Serving with FastAPI + Redis (Boost 10x Speed!) | by Sarayavalasaravikiran | AI Simplified in Plain English | Jul, 2025
    • AI Knowledge Bases vs. Traditional Support: Who Wins in 2025?
    • Why Your Finance Team Needs an AI Strategy, Now
    AIBS News
    • Home
    • Artificial Intelligence
    • Machine Learning
    • AI Technology
    • Data Science
    • More
      • Technology
      • Business
    AIBS News
    Home»Artificial Intelligence»Beyond Glorified Curve Fitting: Exploring the Probabilistic Foundations of Machine Learning
    Artificial Intelligence

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

    Team_AIBS NewsBy Team_AIBS NewsMay 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 would possibly look sophisticated at first look.

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

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

    It’s distributing chances throughout all doable outcomes / lessons.

    And people chances 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 would possibly reply:

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

    Add them up?
    Precisely 100%.

    This implies the mannequin believes it’s most certainly 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 alleged 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 (Activity): The duty to be solved, similar to classifying photographs or predicting the quantity of electrical energy wanted for buying.
    • E (Expertise): The expertise the mannequin learns from. For instance, coaching information similar to photographs or previous electrical energy purchases versus precise consumption.
    • P (Efficiency Measure): The metric used to judge efficiency, similar to accuracy, error price or imply squared error (MSE).

    The place does the probabilistic view are available?

    In classical machine studying, a price is commonly merely predicted:

    > “The home worth is 317k CHF.”

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

    As a substitute of producing fastened predictions, we’re inquisitive about how seemingly which totally different outcomes (on this instance costs) are.

    Every part that’s unsure — outputs, parameters, predictions — is handled as a random variable. 

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

    However let’s now have 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 determine right this moment how a lot electrical energy to purchase.

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

    And the place does chance assist us now?

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

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

    With a chance calculation, then again, 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 security buffer appropriately — not based mostly on a single level prediction, however on your complete vary of doable outcomes.

    If we now have to make an optimum choice beneath uncertainty, that is solely doable 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’ might set off further verification steps.
    • Rising belief and interpretability:
      For us people, chances 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 have a look at how machines truly 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 now have examples — and for every instance, we all know what it means.

    As an example:

    > For those who see this image (enter x), then the flower is known as Setosa (output y).

    The goal is to discover a rule that makes good predictions for brand spanking 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 true world.

    In the true world, nothing is completely predictable.

    • Typically data 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 chances:

    > “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 in regards to the No Free Lunch Theorem?

    In machine studying, there isn’t any single “finest methodology” 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 is going to carry out worse on different sorts of duties.

    Why is that?

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

    Or as George Box famously mentioned:

    > All fashions are unsuitable, 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 identified factors (x, y) as easily as doable — like drawing a intelligent curve by means of information.

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

    So, what’s unsupervised studying?

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

    For instance:

    When the mannequin sees a picture (enter x), it isn’t 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 information. A typical instance of unsupervised studying is clustering.

    The goal is subsequently to not study a hard and fast rule, however to raised perceive the hidden construction of the world.

    How does the probabilistic view assist us right here?

    We’re not attempting to say:

    > “This image is certainly a Setosa.”

    however reasonably:

    > “What buildings or patterns are in all probability hidden within the information?”

    Probabilistic considering permits us to seize uncertainty and variety in doable explanations. As a substitute 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’d be very costly or troublesome to gather (e.g. medical diagnoses).

    Typically the classes are usually 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 have a look at an instance:

    Think about we now have 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 may possibly 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 have 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 truly just like how we prepare a canine.

    Let’s check out an instance:

    A robotic is attempting to learn to stroll. It tries out numerous 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 technique or a rule known 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 part to search out out what works and what doesn’t. Via every expertise (e.g. falling or strolling), the robotic receives suggestions (rewards) similar to +1 level for standing upright, -10 factors for falling over. 

    Over time, the robotic adjusts its coverage to choose actions that result in greater 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 aim?

    The robotic desires to search out actions that deliver the very 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) typically 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 through which scenario to maximise rewards over time.

    Why is reinforcement studying so fascinating?

    Reinforcement studying mirrors the way in which 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 truly studying?

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

    A mannequin is a distributional assumption in regards to 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’s not about offering one “finest reply”, however about modelling how seemingly totally 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?”
      System: f(x)=p(y∣x)
    • In unsupervised studying, we study a operate that describes the chance distribution p(x) of the enter information:
      The chance of the info itself, with out specific goal values.
      We ask, ‘How possible is that this information itself?’.
      System: f(x)=p(x)
    • In reinforcement, we study a coverage π(x) that determines the optimum motion a for a state x:
      A rule that means an motion a for each doable state x, which brings as a lot reward as doable 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?
      System: a=π(x)

    On my Substack, I recurrently write summaries in regards to the revealed articles within the fields of Tech, Python, Information Science, Machine Studying and AI. For those who’re , have a look or subscribe.


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

    In the true world, nearly nothing is actually sure.

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

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

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

    1. Extra sturdy towards errors and uncertainties.
      For instance, in a medical diagnostic system, we would like a mannequin that signifies its uncertainty (‘it’s 60 % sure that it’s most cancers’) as a substitute of creating a hard and fast analysis. On this means, further checks might 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 information 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 techniques (as a substitute of black field algorithms).

    The place Can You Proceed Studying?



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleTraining vs. Testing vs. Validation: Understanding Model Evaluation | by Leo Mercanti | May, 2025
    Next Article This Overlooked Skill Will Make You a More Impactful Leader
    Team_AIBS News
    • Website

    Related Posts

    Artificial Intelligence

    Revisiting Benchmarking of Tabular Reinforcement Learning Methods

    July 2, 2025
    Artificial Intelligence

    An Introduction to Remote Model Context Protocol Servers

    July 2, 2025
    Artificial Intelligence

    How to Access NASA’s Climate Data — And How It’s Powering the Fight Against Climate Change Pt. 1

    July 1, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Revisiting Benchmarking of Tabular Reinforcement Learning Methods

    July 2, 2025

    I Tried Buying a Car Through Amazon: Here Are the Pros, Cons

    December 10, 2024

    Amazon and eBay to pay ‘fair share’ for e-waste recycling

    December 10, 2024

    Artificial Intelligence Concerns & Predictions For 2025

    December 10, 2024

    Barbara Corcoran: Entrepreneurs Must ‘Embrace Change’

    December 10, 2024
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    Most Popular

    The CNN That Challenges ViT

    May 6, 2025

    Meta and Pinterest make secret charity donation

    April 5, 2025

    Best AI/ML online and offline Training | by Cyberyaan Training & Consultancy | Mar, 2025

    March 12, 2025
    Our Picks

    Revisiting Benchmarking of Tabular Reinforcement Learning Methods

    July 2, 2025

    Is Your AI Whispering Secrets? How Scientists Are Teaching Chatbots to Forget Dangerous Tricks | by Andreas Maier | Jul, 2025

    July 2, 2025

    Qantas data breach to impact 6 million airline customers

    July 2, 2025
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2024 Aibsnews.comAll Rights Reserved.

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