Information
Theory

Spring 2017
course
navigation

Jan 31

Continue discussion of Huffman coding :
How would you implement the Huffman algorithm? What is the right data structure(s)?
If you wanted to do this with the bits, what coding techniques would you need?
How much compression do you get with a Huffman code? Go over "average bits per symbol" and its implications. How many (fixed length) bits do you need to encode a set of symbols without using Huffman coding?
Invent an example and work through it.
Can you use Huffman coding for a bit stream that has conditional probability, i.e. P(a|b) different from P(a)? What are the issues to consider?
answers:
Huffman is not the only game in town - I think that if you're going to do a consider a complicated variation, it's likely that other compression algorithms would do better.
Coming next: chapter 4 material and related topics :
http://cs.marlboro.edu/ courses/ spring2017/info/ notes/ Jan_31
last modified Tuesday January 31 2017 12:42 am EST