Skip to content

partition_centroid.py: fix normalization in mutual_information

Rodrigo L.C. requested to merge (removed):master into master

The calculation of the entropy terms Hx and Hy is incorrectly multiplied by the number of elements in the partitions N. The result is that the normalized mutual information for two identical partitions is not 1 but 1/N.

Merge request reports