-
Notifications
You must be signed in to change notification settings - Fork 91
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
Normalized Mutual Information #2
Comments
I have same question. Anybody know why??? |
the code is a little wrong, the math.log(2,num) should be math.log(num,2) |
The result of overlap_nmi.py will be -0.2354300373718371 if change the math.log(2, num) to be math.log(num, 2), which is incorrect either. |
Here is my code, it may work for you: import math def calc_overlap_nmi(num_vertices, result_comm_list, ground_truth_comm_list): class OverlapNMI:
|
The extended NMI is between 0 and 1. But the nmi of example in overlap_nmi.py is 2.60794966304. Would you like to explain this question?
The text was updated successfully, but these errors were encountered: