5344
5432
1万
管理员
本站资源如失效,请点击反馈!
数据压缩
log2(1/p1) + log2(1/p2) + ... + log2(1/pn) = ∑ log2(1/pn)
∑ log2(1/pn) / n = log2(1/p1)/n + log2(1/p2)/n + ... + log2(1/pn)/n
p1*log2(1/p1) + p2*log2(1/p2) + ... + pn*log2(1/pn) = ∑ pn*log2(1/pn) = E( log2(1/p) )
0.5*log2(1/0.5) + 0.3*log2(1/0.3) + 0.2*log2(1/0.2) = 1.49
0.1*log2(1/0.1)*10 = 3.32
Claude Shannon
图1
图2
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|飞雪团队
GMT+8, 2024-11-24 05:24 , Processed in 0.077287 second(s), 25 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.