what is the difference between arithmetic and geometric normalized mutual information, i have :
In [4]: real
Out[4]:
array([0., 0., 0., 0., 0., 0., 0., 0., 1., 1., 0., 0., 0., 0., 1., 1., 0., 0., 1., 0., 1., 0., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.])
In [6]: test
Out[6]:
array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.])
now i want to calculate normalized mutual information: but it acting kind of wierd
In [13]: normalized_mutual_info_score(real.astype(int),test.astype(int),average_method='arithmetic')
Out[13]: 6.422893887289432e-16
In [14]: normalized_mutual_info_score(real.astype(int),test.astype(int),average_method='geometric')
Out[14]: 1.0
the main question in WHY?