Workbench / Information Theory Companion
Information Theory · Companion
Information Theory Companion
Everything around each chapter of Information Theory that helps it stick and pays off at work: how its ideas connect, the same material from unexpected angles, what it simplifies (with measured output), real open-source code that puts it to work, debugging drills, and interview questions with how to approach them. Where the chapter or its exercises already cover something, this page says so instead of repeating it.
How to read this book
Read a chapter's companion after the chapter and its exercises. Run the code, try each drill before opening its answer, and answer interview questions aloud before you look.
How to use this book
- Read one topic at a time. Each topic heading has a Done tick. Tick it only when you can explain the idea aloud without looking.
- Do the worked examples and practicals yourself before opening their solutions.
- Take the chapter quiz at the end. A score of 80% or more counts as passed. Wrong answers show the explanation, so re-read that topic and untick it if needed.
Contents
- B1·01Start Here: What Information IsAround chapter 1: how information, surprise and bits connect to the rest of the book; three other ways to see them; what the chapter simplifies…13 min
- B1·02Counting Possibilities: Bits, Logarithms and QuestionsAround chapter 2: how counting, fixed-length codes and question trees connect to the rest of the book; three other ways to see them; what the chapter…16 min
- B1·03The Probability You NeedAround chapter 3: how probability connects surprise to entropy and coding; three other ways to see it; what the chapter simplifies (frequencies drift…15 min
- B1·04Entropy: the Average Surprise of a SourceAround chapter 4: how entropy ties surprise, probability, questions and codes together; three other ways to see it; what the chapter simplifies…14 min
- B1·05Codes: Prefix Codes, Kraft's Inequality and Huffman CodingAround chapter 5: how codes connect counting, entropy and the source coding theorem; three other ways to see them; what the chapter simplifies…16 min
- B1·06The Source Coding Theorem: Why Entropy Is the LimitAround chapter 6: how typicality, the coding theorem, arithmetic coding and universal compression fit together; three other ways to see them; what…17 min
- B1·07Joint and Conditional Entropy, Mutual InformationAround chapter 7: how joint and conditional entropy, mutual information and entropy rates connect the book; three other ways to see them; what the…17 min
- B1·08Channels and NoiseAround chapter 8: how channels, error counts, codes and checks connect the book; three other ways to see them; what the chapter simplifies (Adler-32…18 min
- B1·09Channel Capacity and the Noisy-Channel Coding TheoremAround chapter 9: how capacity, the coding theorem, its converse and separation connect the book; three other ways to see them; what the chapter…18 min
- B1·10Information Everywhere: Language, DNA, Randomness and PasswordsAround chapter 10: how models, real sources, min-entropy and guessing connect the book; three other ways to see them; what the chapter simplifies…15 min
- B1·11Information in Machine Learning: Cross-Entropy and KL DivergenceAround chapter 11: how cross-entropy, divergence, log loss and perplexity tie the whole book together; three other ways to see them; what the chapter…18 min