Conditional mutual information (source code)

= Conditional mutual information
{title2=$I(X;Y\mid Z)$}
{wiki}

Conditional mutual information is the average information shared by $X$ and $Y$ after $Z$ is known:
$$
I(X;Y\mid Z)=H(X\mid Z)-H(X\mid Y,Z)\geq0.
$$