liveBook · Manning

Entropy

As explained in Machine Learning System Design

Entropy is a measure of uncertainty or dispersion in a probability distribution.

Entropy measures uncertainty or dispersion in a probability distribution. In search results, the category distribution can use entropy as a diversity measure: greater spread across categories indicates less concentration. section 5.3.2

Search-result diversity

A PhotoStock search engine can add an entropy-based term to its loss function to penalize overly similar results. This diversity term is optional when the approach is impractical. section 5.3.2

How Machine Learning System Design covers it

How deep it goes
Applies entropy as an optional loss component but does not derive its formula or implementation.
Examples
Uses the category distribution of PhotoStock search results as the concrete diversity example.
What you can do after
Evaluate result diversity and consider adding an entropy-based penalty to a search-ranking loss.
How it connects
Connects entropy with diversity, loss functions, search engines, binary cross-entropy, and focal loss.

Also explained in

Compare how 13 books explain entropy →

Related concepts

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