Conditional Entropy Calculator
Free online conditional entropy calculator. Enter your values and get instant results with the formula, step-by-step working, a worked example and FAQs — everything runs locally in your browser on Calcton, no signup required.
中文版:条件熵计算器
原理:条件熵 H(Y|X) = H(X,Y) − H(X),衡量「已知 X 之后 Y 还剩多少不确定性」。若 X 完全决定 Y,则 H(Y|X) = 0;若 X 与 Y 独立,则 H(Y|X) = H(Y)——知道 X 毫无帮助。
步骤:① 按行输入联合分布(行是条件变量 X);② 点击计算;③ 读出联合熵、边缘熵与两个方向的条件熵。
示例:联合分布 (0.1, 0.2; 0.3, 0.4) 时 H(X,Y) = 1.846439344671、H(X) = 0.881290899231、H(Y|X) = 0.96514844544 比特;完全相关的对角分布 (0.5, 0; 0, 0.5) 时 H(Y|X) = 0。
注意事项:矩阵所有元素之和必须为 1,行为条件变量;条件熵不对称——H(Y|X) 与 H(X|Y) 一般不等;它也非负,且不超过对应的边缘熵(观察永远不会增加不确定性)。
相关:互信息计算器给出 I(X;Y) = H(Y) − H(Y|X) 这条信息守恒式;联合熵计算器专注 H(X,Y) 本身;马尔可夫熵率计算器把条件熵沿平稳分布加权成时间平均。
How to use the Conditional Entropy Calculator
- Fill in the inputs with your own numbers — every field shows what it expects.
- The result updates instantly as you type; no "Calculate" click needed.
- Read the result card for the main figure, the step-by-step formula, and practical notes.
Frequently asked questions
Is the Conditional Entropy Calculator free?
Yes — all math calculators on Calcton are free, with no sign-up required. Your inputs are processed in your browser and never sent to a server.
Is there a Chinese version of this tool?
Yes. Use the Chinese version link above — it is the same calculator with the interface in Simplified Chinese.
References
Formulas and benchmarks used by this calculator follow these published sources.
KevinContent LeadCalcton Editorial Team · Last updated 2026-10-06
Kevin maintains Calcton's formula verification and content: every calculator cites the standard it implements, worked examples are recomputed programmatically, and health benchmarks follow WHO and international guidelines.
Related calculators
More in this category: Math calculators
About math calculators
Free online math calculators for algebra, statistics, number theory and everyday arithmetic — from quadratic equations and matrices to percentages, fractions and prime factorization, each with step-by-step formulas.