AI engineering glossary · Probability

What is PMF (probability mass function)?

Probability mass function (also called PMF): A function that gives the probability that a discrete random variable equals each specific value. Its values are never negative and add up to 1 over all possible values. It is the discrete counterpart of a density curve.

Level: beginnerTopic: Probability

Probability mass function: an example

For a fair die, the function gives 1/6 for each of 1 to 6, and these six values sum to 1.

Related terms

More Probability terms

Where you learn it

Probability mass function is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.