I understand that mutual information (MI) of two distributions $X$ and $Y$ is defined as
In the case of clustering analysis, say we are looking for two clusters out of 3 data points. We have two soft clustering algorithms and correspondingly, two cluster allocations $A$ and $B$. Let's say $$A=\{(0.1, 0.9), (0.45, 0.55),(0.8, 0.2)\};\\B=\{(0.4, 0.6), (0.35, 0.65),(0.8, 0.2)\},$$ where $A_1=(0.1, 0.9)$ simply means that the 1st data point has a probability of 0.1 to be in cluster 1 and 0.9 in cluster 2.
In this case, how may I compute MI? In particular, how do I find the distributions (2 distributions and 1 joint distribution)?
MI(A, B)
. Essentially, the goal is to test how goodA
is assumingB
is the ground truth, or the other way round. $\endgroup$