Astronomy
Asteroids and Comets Black Holes Children Chemical Elements Constellations Earth Eclipses Environment Equations Evolution Exoplanets Galaxies Light Matter Moons Nebulas Planets Dwarf Planets Probes and Telescopes Scientists Stars Sun Universe Volcanoes Zodiac New Articles Glossary
RSS astronoo
Follow me on X
Follow me on Bluesky
Follow me on Pinterest
English
Français
Español
Português
日本語
Deutsch
 
Last updated: April 7, 2024

Bayes Formula and Artificial Intelligence

Bayes Formula and Artificial Intelligence

Image description: What is the probability that the next ball you draw from the bag will be yellow?
Today, we ask the neural network to predict the future.

Bayes formula

Bayes' formula, also called Bayes' theorem, is a mathematical formula that allows you to calculate the probability of an event A, knowing that another event B has already occurred.

Bayes' formula: P(A|B) = (P(B|A) * P(A)) / P(B)

A is the event whose probability we want to estimate.
B is the event that we already know.
P(A|B) is the probability that event A will occur given that event B has already occurred.
P(B|A) is the probability that event B will occur given that event A has already occurred.
P(A) is the probability that event A occurs independently of event B.
P(B) is the probability that event B occurs independently of event A.

Suppose you have a bag containing 10 yellow balls and 10 blue balls. You draw a ball at random without looking and see that it is yellow.
What is the probability that the next ball you draw will also be yellow?

A: The next ball drawn is yellow.
B: The first ball drawn is yellow.
P(A|B) = (P(B|A) * P(A)) / P(B)
P(B|A) = 10/20 = 0.5 (probability of drawing a yellow ball knowing that the first ball drawn is yellow)
P(A) = 10/20 = 0.5 (probability of drawing a yellow ball)
P(B) = 10/20 + 10/20 = 1 (probability of drawing a yellow ball + probability of drawing a blue ball)
P(A|B) = (0.5 * 0.5) / 1 = 0.25
So the probability of drawing a second yellow ball is 25%.

Bayes Formula and Artificial Intelligence

The Bayes Formula, developed by the Reverend mathematician Thomas Bayes (1702-1761) is one of the fundamental concepts of probability theory and statistical inference (set of techniques for drawing conclusions about a population from 'a sample of this population).

What's amazing about this formula is that it allows us to change our minds based on the new information we receive. Although the formula is simple, it shows how our ideas can evolve as we learn new things. In other words, the more we know about the past, the better we can predict the future.
This formula also tells us that the accumulation of information allows us to refine our predictions. It is therefore a powerful decision-making tool.
Although born in a different context, it today finds its full meaning in the field of Artificial Intelligence (AI).

In 1763, Richard Price (1723-1791) a friend of Thomas Bayes presented his formula in an article entitled "An Essay towards solving a Problem in the Doctrine of Chances".
The notion of subjective probability, which is at the heart of Bayes' formula, was controversial at the time. Bayes did not provide a formal proof of his formula, leading mathematicians to reject it as non-rigorous.
Later, it was the work of Pierre Simon Laplace (1749-1827), Siméon Denis Poisson (1781-1840) and other mathematicians who helped solidify the foundations of probability theory and render Bayes' formula more modern. Today, the Bayes Formula is widely used in fields such as medicine, finance, and engineering.

Artificial Intelligence are computer systems capable of imitating certain human cognitive abilities.
Machine learning and probabilistic inference are two areas of AI that make particular use of Bayes' theorem.
In the context of machine learning, the Bayes Formula is used in supervised learning methods to estimate the probability that a certain class is the cause of a given observation. For example, in image classification, a machine learning algorithm can use the Bayes Formula to estimate the probability that a given image is a cat rather than a dog, based on the features observed in the image. picture.
Additionally, the Bayes Formula is at the heart of Bayesian inference, a probabilistic approach to decision-making in AI systems. Unlike the frequentist approach which is based on fixed training data, Bayesian inference updates its probabilistic beliefs as it observes new data. This enables more adaptive and robust decision-making, especially in complex and dynamic environments.

The theory that wouldn't die

The Bayes Formula, designed over 250 years ago, is a method for learning from the uncertainty of the future. Indeed, it measures belief, it tells us that we can learn from missing data or approximations or even from total ignorance.
It therefore goes against the belief that science requires objectivity and precision. This explains why this formula was declared dead by scientists of the time.

This theory of probability, which did not want to die, with the arrival of computers has been widely demonstrated. This is the only logic of artificial intelligence algorithms. The Bayes Formula remains a powerful tool in various fields of science and technology. By combining sound statistical principles with sophisticated computer algorithms, the Bayes Formula continues to play a vital role in building intelligent and adaptive AI systems.

Articles on the same theme

The Kaya Identity: The Equation Complicating Our Decarbonization The Kaya Identity: The Equation Complicating Our Decarbonization
The Unsurpassable Speed in the Universe: When Energy Becomes Infinite The Unsurpassable Speed in the Universe: When Energy Becomes Infinite
Electromagnetic Runaway: The Secret of the Speed of Light Electromagnetic Runaway: The Secret of the Speed of Light
Understanding the Photoelectric Effect: Light and Electrons Understanding the Photoelectric Effect: Light and Electrons
How far is the horizon? How far is the horizon?
How Do Solar Panels Inject Electricity into the Grid? How Do Solar Panels Inject Electricity into the Grid?
Momentum Dynamics Dynamics of Momentum to explain the propulsion of rockets or jellyfish
How Electron Energy Dictates Chemical Properties How Electron Energy Dictates Chemical Properties
The Key Role of Quantum Uncertainty: No Particle Can Be at Rest The Key Role of Quantum Uncertainty: No Particle Can Be at Rest
Energy and Power: Don't Confuse Them, Time Makes All the Difference Energy and Power: Don't Confuse Them, Time Makes All the Difference
Why is there a limit to cold, but not to heat? Why is there a limit to cold, but not to heat?
Galileo's Law of Falling Bodies Galileo's Law of Falling Bodies
The Ideal Gas Law: One Equation, Thousands of Applications The Ideal Gas Law: One Equation, Thousands of Applications
Schrödinger's Equation Revolutionized Our View of Matter Schrödinger's Equation Revolutionized Our View of Matter
The Magic of Noether's Theorem: From the Principle of Least Action to Conservation Laws The Magic of Noether's Theorem: From the Principle of Least Action to Conservation Laws
Relationship between gravitational mass and inertial mass and the equivalence principle Relationship between gravitational mass and inertial mass and the equivalence principle
Third Equation of Physics: Momentum to Understand Collisions Third Equation of Physics: Momentum to Understand Collisions
The second essential equation in physics: The intuition of a conserved quantity The second essential equation in physics: The intuition of a conserved quantity
The First Equation of Physics: How to Mathematize Force The First Equation of Physics: How to Mathematize Force
The electromagnetic force or Lorentz force The electromagnetic force or Lorentz force
The solar energy received depends on the angle of incidence The solar energy received depends on the angle of incidence
Why is marble colder than wood? Why is marble colder than wood?
Why does a photon, which has no mass, have energy? Why does a photon, which has no mass, have energy?
Bayes Formula and Artificial Intelligence Bayes Formula and Artificial Intelligence
The seven fundamental constants of physics The seven fundamental constants of physics
What temperature does it feel like in interstellar space? What temperature does it feel like in interstellar space?
Black body radiation curves Black body radiation curves: Planck's law
The equivalence principle The equivalence principle, gravitational effects are indistinguishable from acceleration
E=mc2: The four fundamental concepts of the universe revisited E=mc2: The four fundamental concepts of the universe revisited
How to weigh the sun? How to weigh the sun?
Equation of the free fall of bodies (1604) Equation of the free fall of bodies (1604)
Coulomb vs Newton: The Mysterious Similarity of the Universe's Forces Coulomb vs Newton: The Mysterious Similarity of the Universe's Forces
Boltzmann's equationon entropy (1877) Boltzmann's equationon entropy (1877)
Special relativity equations (1905) Special relativity equations (1905)
The equation of general relativity (1915) The equation of general relativity (1915)
Planetary Rotation Equations: Between Angular Momentum and Gravitational Balance Planetary Rotation Equations: Between Angular Momentum and Gravitational Balance
Equation of the orbital velocity of a planet Equation of the orbital velocity of a planet
Planck's equation Planck's equation
Understanding Schrödinger's Equation Without Math Understanding Schrödinger's Equation Without Math
Newton's Three Laws: From the Falling Apple to the Orbiting Planets Newton's Three Laws: From the Falling Apple to the Orbiting Planets
Maxwell's equations Maxwell's equations
Paul Dirac's equation Paul Dirac's equation
Conservation of energy Conservation of energy
Equation of electromagnetic induction Equation of electromagnetic induction
Why do elementary particles have no mass? Why do elementary particles have no mass?
Difference between heat and temperature Difference between heat and temperature