Chapter 16 of 22 Part IV: Data, Media & Machine Intelligence

Making Big Things Small

Open Standalone Full-Screen Lab ↗ Download Lab HTML

Before You Experiment: Hypothesis

In Activity 02, feed a highly skewed string vs. a uniform alphabet into Huffman coding and compare average bits per symbol.

Lab Sections & Troubleshooting

Activities: 01 | Run-length encoding · 02 | Huffman coding · 03 | Quantization

Try short strings first to inspect the full generated prefix table clearly.