liveBook · Manning

Negative log-likelihood

As explained in Ensemble Methods for Machine Learning

Negative log-likelihood is the negative logarithm of the likelihood assigned by a probabilistic model to observed data.

Negative log-likelihood turns a probabilistic model’s assigned likelihood into an optimization target. It connects the chosen residual distribution to the loss and therefore to the model’s behavior. section 7.3.1

Choose the distribution that matches the target and residual behavior:

  • Gaussian residuals produce squared error, which heavily penalizes large errors and remains suitable for gradient and Newton boosting. section 7.3.1
  • Laplacian residuals produce absolute error, reducing the influence of extreme errors but lacking the second derivative required for Newton boosting. section 7.3.1
  • Huber loss combines squared-error behavior for small residuals with scaled absolute-error behavior beyond a chosen threshold. section 7.3.1

Comparing residual assumptions

For a continuous target, selecting Gaussian residuals emphasizes large mistakes through squared error; selecting Laplacian residuals treats extreme mistakes less aggressively through absolute error. section 7.3.1

Figure 7.10 Loss and log-likelihood functions for three different types of targets: continuous-valued (left), positive continuous-valued (center), and count-valued (right)
CH07_F10_Kunapuli

Compare loss and log-likelihood shapes for continuous, positive continuous, and count-valued targets. section 7.3.1

How Ensemble Methods for Machine Learning covers it

How deep it goes
Defines the optimization role and compares distribution-linked losses, stopping short of detailed derivations.
Examples
Uses Gaussian, Laplacian, and Huber losses for continuous-valued targets, alongside comparisons across target types.
What it assumes
Assumes regression, residuals, probability distributions, and derivatives while reinforcing how these determine loss functions.
What you can do after
Evaluate how distribution assumptions change loss penalties, differentiability, outlier sensitivity, and boosting suitability.
How it connects
Links negative log-likelihood to residual distributions, squared error, absolute error, Huber loss, gradient boosting, and Newton boosting.

Also explained in

Compare how 7 books explain negative log-likelihood →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Ensemble Methods for Machine Learning. The section links point to the parts of the book it draws on.