liveBook · Manning

Likelihood

A likelihood is the probability of observed data under a specified probabilistic model, regarded as a function of candidate hypotheses or parameter values.

How 5 Manning books explain it

Math and Architectures of Deep Learning

A function of model parameters measuring how probable observed data are under those parameters.

How it is used
Supports parameter estimation by scoring training data under candidate model parameters.
How deep it goes
Derives independent-data likelihoods, Gaussian forms, negative log-likelihood optimization, and Bayesian posterior roles.
Examples
Uses Gaussian mean and variance fitting, PyTorch gradient descent, and class selection in Gaussian mixture models.
What you can do after
Apply it via PyTorch to minimize Gaussian negative log-likelihood and estimate model parameters.

Read how Math and Architectures of Deep Learning explains likelihood →

Fabulous Adventures in Data Structures and Algorithms

A likelihood function expresses the plausibility of observed data as a function of a hypothesis or model parameter.

How it is used
Models observations conditional on a cause so a prior can produce joint and posterior distributions.
How deep it goes
Develops a C# conditional-distribution function, constructs integer-weight joint distributions, and derives posteriors by filtering and projection.
Examples
Uses cold-and-sneezing survey data, a rare-condition medical test, and two independent d20 rolls.
What you can do after
Build it from scratch with C# categorical distributions to combine priors and likelihoods and compute posteriors from observations.

Read how Fabulous Adventures in Data Structures and Algorithms explains likelihood →

Bayesian Optimization in Action

A likelihood function quantifies how compatible observed data are with different values of a model's parameters or latent quantities.

How it is used
Updates beliefs about quantities or hypotheses by combining prior beliefs with the compatibility of observed data.
How deep it goes
Explains likelihood through competing psychic hypotheses and repeated Bayesian updates, while treating Bayes’ theorem at a high level.
Examples
Uses nearby-house prices and repeated carnival guesses to contrast informative evidence, irrelevant evidence, and prior sensitivity.
What you can do after
Evaluate/understand how observed evidence changes beliefs under competing hypotheses and different prior probabilities.

Read how Bayesian Optimization in Action explains likelihood →

Build a Robo-Advisor with Python (From Scratch)

A likelihood is the probability of observed data conditional on a specified parameter value or hypothesis.

How it is used
Frames observed evidence as conditional probability for Bayesian updating.
How deep it goes
Defines likelihood through conditional probability and extends it to uncertain distribution parameters, without deriving posterior distributions.
Examples
Uses professional basketball membership and height, then generalizes to exponential-rate and normal-mean parameters.
What you can do after
Evaluate how observed evidence changes beliefs about hypotheses or uncertain distribution parameters.

Read how Build a Robo-Advisor with Python (From Scratch) explains likelihood →

Causal AI

Likelihood is the probability of observed data viewed as a function of a candidate model parameter value.

How it is used
Uses observed data to estimate parameters for statistical, machine-learning, and causal models.
How deep it goes
Explains likelihood, log-likelihood, negative log-likelihood, regularization, and optimization, without deriving general closed-form estimators.
Examples
Uses regression weights, linear regression, neural networks, and L2 regularization as estimation examples.
What you can do after
Apply it via likelihood-based objectives, numerical optimization, and regularized loss functions when fitting models.

Read how Causal AI explains likelihood →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.