通过交互式可视化探索信息论的数学基础
单个事件发生时的"惊讶度"或信息量
自信息量:
{{ selfInformation.toFixed(4) }} bits
惊讶度:
随机变量的平均不确定性
信息熵 $H(X)$:
{{ entropy.toFixed(4) }} bits
最大可能熵:
{{ maxEntropy.toFixed(4) }} bits
不确定性程度: {{ (entropy/maxEntropy*100).toFixed(1) }}%
伯努利分布的特例
$P(A)$
{{ pBinary.toFixed(3) }}
$P(\bar{A})$
{{ (1-pBinary).toFixed(3) }}
二元熵值:
{{ binaryEntropy.toFixed(4) }} bits
两个随机变量之间的共享信息量
$H(X)$
{{ marginalEntropyX.toFixed(3) }}
$I(X;Y)$
{{ mutualInformation.toFixed(3) }}
$H(Y)$
{{ marginalEntropyY.toFixed(3) }}
高斯白噪声信道的容量上限
线性 SNR
{{ snrLinear.toFixed(2) }}
频谱效率
{{ spectralEfficiency.toFixed(2) }} bps/Hz
信道容量上限:
{{ channelCapacity.toFixed(2) }} Mbps
计算自然语言的信息密度
字符数
{{ textInput.length }}
独特字符
{{ uniqueChars }}
最大可能熵
{{ maxTextEntropy.toFixed(3) }}
实际熵:
{{ textEntropy.toFixed(4) }} bits/char
压缩效率:
{{ compressionEfficiency.toFixed(1) }}%