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

Adding RMI #29

Merged
merged 3 commits into from
Aug 7, 2019
Merged

Adding RMI #29

merged 3 commits into from
Aug 7, 2019

Conversation

jg-you
Copy link
Contributor

@jg-you jg-you commented Aug 6, 2019

As mentioned in issue #27, this PR adds the reduced mutual information (introduced in this preprint).

Some remarks: I defined get_log_omega as a private function. It calculates the log of the number of contigency table with fixed row and column margins, and it didn't sound like something that needed to be exposed. I can move it if you think that it is better.

I also did not use the function nmi to calculate the mutual information, because we use an "exact version" of the MI, calculated combinatorically, that only equals the more standard MI in the limit of large clusters. (see Eq.~(24) of our preprint).

@yy
Copy link
Collaborator

yy commented Aug 7, 2019

Thanks! I haven't closely examined nor tested yet (hope that @ajgates42 can take a closer look ), but overall looks good! I think having get_log_omega as a private function is fine for now. I also don't see much use in other cases at the moment. And thanks for updating the bib for our papers!

@ajgates42
Copy link
Collaborator

Thanks @jg-you, this looks great!

@ajgates42 ajgates42 merged commit d2bc62c into Hoosier-Clusters:master Aug 7, 2019
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

Successfully merging this pull request may close these issues.

3 participants