Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pairwise Mutual Information #1

Open
N-McA opened this issue Jan 31, 2018 · 0 comments
Open

Pairwise Mutual Information #1

N-McA opened this issue Jan 31, 2018 · 0 comments

Comments

@N-McA
Copy link

N-McA commented Jan 31, 2018

Hey,

Are you sure the computation of pairwise mutual information in the hashing example is correct? I've been working through the maths (and reverse-engineering what you compute) and I'm not entirely convinced that the value you compute is correct.

You seem to be evaluating p(Y_a, Y_b | X) * lg (p(Y_a, Y_b | X) / p(Y_a, Y_b))

Whereas I was expecting the correct term to be I(Y_a ; Y_b) = H(Y_a) - H(Y_a | Y_b) =p(Y_a) * lg(p(Y_a)) - p(Y_a, Y_b) * lg (p(Y_a, Y_b) / p(Y_b))

I'm not certain yet though. Do you have any notes on how you derived the current form?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant