美文网首页
General data compression limits

General data compression limits

作者: 刘东利2020 | 来源:发表于2023-08-11 08:39 被阅读0次

我们先回看一下这张图:

作者解释:

First, we’ve chosen the probabilities to be all of the form 1/2^k where k is a positive integer.

为什么呢?为了避免取对数之后有浪费、冗余:

This technicality is why the entropy is in general less than or equal to the expected length of the shortest binary encoding, rather than always exactly equal. 

而案例也是特殊构建的:

We’ve specififically picked the case where it is equal for illustrative purposes.

现实中,为达到极限(等号):

It is possible to get closer to this bound in the more general case by encoding sequences of multiple events together into a single binary string, otherwise known as block encoding.

这两个案例:

These sequences in Figure 2 are called typical sequences.

相关文章

网友评论

      本文标题:General data compression limits

      本文链接:https://www.haomeiwen.com/subject/ybqtmdtx.html