liveBook · Manning

Odds

As explained in Build AI Drug Discovery Pipelines

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

Odds measure an event’s probability relative to the probability of its complement: the ratio of success to failure. In classification, they express how strongly a prediction favors one outcome over the other. section 5.1.3

Logistic regression models log-odds before the sigmoid function converts them into probabilities. A positive feature weight raises the odds that a molecule is a CYP3A4 inhibitor; a negative weight lowers them, with other features fixed. section 5.1.3

Interpreting a feature weight

If a feature has weight 0.45, increasing it by one unit multiplies the predicted odds by exp(0.45) = 1.57—a 57% increase in inhibitor odds, assuming all other features remain unchanged. section 5.1.3

oddsxj+1oddsxj=ewj

The odds ratio for increasing feature xj by one unit is exp(wj), directly linking a logistic-regression weight to multiplicative change in predicted odds. section 5.1.3

How Build AI Drug Discovery Pipelines covers it

How deep it goes
Defines the probability ratio and derives feature effects through log-odds and odds ratios.
Examples
Uses CYP3A4 inhibitor prediction and a feature weight of 0.45 to demonstrate a 1.57-fold odds increase.
What you can do after
Interpret logistic-regression weights as multiplicative changes in predicted odds when features change.
How it connects
Connects probability, complements, logistic regression, sigmoid functions, log-odds, feature weights, and odds ratios.

Also explained in

Compare how 5 books explain odds →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build AI Drug Discovery Pipelines. The section links point to the parts of the book it draws on.