Concept

Mutual Information

Mutual information is a measure of dependence from information theory that quantifies how much the knowledge of one variable reduces the uncertainty about another. For categorical variables, or continuous variables binned into categories, mutual information can be calculated as: I(U,V)=i=1Uj=1VUiVjNlogUiVjUiVjI(U,V) = \sum_{i=1}^{|U|} \sum_{j=1}^{|V|} \frac{|U_i \cap V_j |}{N} \log \frac{|U_i \cap V_j |}{|U_i||V_j|} where UU and VV represent the input variables, UiU_i and VjV_j represent the categories of the variables, and NN is the total number of samples.

0

1

Updated 2026-06-13

Tags

Data Science

Related