Skip to content

Instantly share code, notes, and snippets.

@elsonidoq
Created December 7, 2012 02:23
Show Gist options
  • Save elsonidoq/4230231 to your computer and use it in GitHub Desktop.
Save elsonidoq/4230231 to your computer and use it in GitHub Desktop.
Mutual information test output
X ~ N(0,1)
y1 = 1 <=> x > 0
y2 = 1 con probabilidad 0.5
I(y1;x) = H(X) - H(X|Y1) = 0.97
I(y1;x) = H(Y1) - H(Y1|X) = 0.97
I(y2;x) = H(X) - H(X|Y2) = 0.08
I(y2;x) = H(Y2) - H(Y2|X) = 0.08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment