Shannon's source coding theorem: you can't compress below entropy

Can you squeeze endless text into fewer bits without losing anything?

Image: ITU Pictures from Geneva, Switzerland, CC BY 2.0, via Wikimedia Commons

Shannon's source coding theorem: you can't compress below entropy

Can you squeeze endless text into fewer bits without losing anything?

Imagine trying to pack an infinite number of identical books into a finite space without leaving any out.

Shannon's theorem tells us that there's a limit to how much we can compress data without losing information. It's like trying to fit an endless series of identical books into a finite space; you can't compress them below their entropy without risking loss.

Example

If each book (data) is unique and you have an infinite collection, you can't compress them into fewer bits (space) than what's dictated by their entropy (size).

Remember this

You can't compress data below its entropy without losing information.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath