Empty template for me to use when creating a new application.
Loading the two groupings
Build NodeToGroups mapping
Spaces and tabs allowed as delimiter
OverlapMatrix
Ignore empty sets, with a warning to stderr.
OverlapMatrix now knows N
Calculating H_XgivenY for one pair of communities.
Assertion: H(X|Y) should be no worse than H(X)
Found best match in either direction.
throw EmptyFile
LFKNMI, not working correctly mind you.
BUGFIX: I hadn't included the constraint. Turns out that's important after all.
Cosmetic
BUGFIX: Stupid as it sounds, communities over half the size of the network are allowed.
aaronNMI, by not prematurely normalizing
Can use Max, as an alternative to Sum, within aaronNMI. NOTE: The numerator is a bit weird here. How else to make I(X;Y) symmetric?
A few things. Calculate MI explicitly, and normalize by Max as per VinhEppsBailey. That gives a nice straight line for the first simple experiment
BUGFIX: There'd be NaN when there is a massive community that includes all nodes.
Prepare, and start using, omFlipped.