Encoding unit — one grounded idea

1 The expected code length of a typical message can be approximated by the entropy H(X) times the message length N, which provides a lower bound on average code length.
“the key pattern here is that as N grows, the proportions of the symbols that make up a random message will look more and more like the predefined probabilities. For any symbol s_i, there will be about N times p_i of that symbol in a message. A message that looks like this is called 'typical', and as N approaches infinity, the probability that a random message is typical approaches one. Sort of. The real proof is more rigorous—you can look up 'asymptotic equipartition property' and 'strong typicality' if you want to learn more. But the basic idea is that we can now just find the minimum average code length of a typical message, instead of any message, to at least get a lower bound on average code length.”
spoken · 248s · 2024-08-18 · en · JentGent · these compression algorithms could halve our image file sizes (but we don't use …
id: 2b9ceefdf132e92d
concepts in this idea