I am having some issues implementing the Mutual Information Function that Python\'s machine learning libraries provide, in particular : sklearn.metrics.mutual_info_score(labels
The code below should provided a result: 0.00011053558610110256
0.00011053558610110256
c=np.concatenate([np.ones(49), np.zeros(27652), np.ones(141), np.zeros(774106) ]) t=np.concatenate([np.ones(49), np.ones(27652), np.zeros(141), np.zeros(774106)]) computeMI(c,t)