liveBook · Manning

Odds

As explained in Ensemble Methods for Machine Learning

Odds are the ratio of the probability of an event to the probability of its complement.

Odds compare how likely an event is with how likely its complement is. Like betting odds, they express a ratio rather than a direct probability: p/(1 − p). section 7.1.3

In binary classification, the logit is the logarithm of the odds. Logistic regression models these log-odds as an intercept plus a weighted combination of input features, then maps them back to probabilities with the sigmoid function. section 7.1.3

Odds make logistic-regression coefficients interpretable:

  • A positive feature weight increases the odds of the positive class. section 9.1.3
  • A negative feature weight decreases the odds. section 9.1.3
  • Exponentiating a weight converts its change in log-odds into an odds multiplier. section 9.1.3

Diabetes diagnosis

If increasing age by one year raises log-odds by 0.5, the odds multiply by e^0.5, or about 1.65— a 65% increase. A glucose coefficient of −0.29 multiplies the odds by about 0.75, a 25% decrease. section 9.1.3

Figure 9.5 Interpreting a logistic regression, that is, a linear model for classification, for breast cancer diagnosis. Positive feature weights lead to increased odds of breast cancer, negative feature weights lead to decreased odds of breast cancer, and zero feature weights don’t affect the odds of breast cancer.
CH09_F05_Kunapuli

Use the figure to compare positive, negative, and zero feature weights through their effects on breast-cancer odds. section 9.1.3

How Ensemble Methods for Machine Learning covers it

How deep it goes
Develops the probability ratio, log-odds, sigmoid link, and coefficient multipliers, without formal derivations.
Examples
Uses betting odds, diabetes diagnosis, and breast-cancer diagnosis to explain odds and feature-weight effects.
What it assumes
Assumes binary class labels and probability concepts while introducing odds through a betting analogy.
What you can do after
Evaluate/understand logistic-regression coefficients by converting changes in log-odds into odds multipliers.
How it connects
Connects probability, complements, logit links, logistic regression, sigmoid functions, and Bernoulli distributions.

Also explained in

Compare how 3 books explain odds →

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.