Information Gain
Updated 2026-07-30
Summary
KL divergence (Kullback-Leibler divergence, abbreviated KLD), known as relative entropy in information systems, randomness in continuous time series, and information gain in statistical model inference. Also known as information divergence. KL divergence is an asymmetric measure of the difference between two probability distributions P and Q. It measures the extra average number of bits required to encode samples from distribution P using a code based on Q. Typically, P represents the true distribution of data, while Q represents a theoretical distribution, an estimated model distribution, or an approximation of P.
Definition
Entropy reduction: the reduction in classification uncertainty due to a feature. Formula: IG = H(parent) - weighted average H(children). Feature selection: choose the feature with the largest information gain to split. Scaffold use: quantify "how much value this information has". Not all information is equally useful; information gain helps identify the most discriminative features.
Introduction
How to use
Quantify "how much value this information has". Not all information is equally useful; information gain helps identify the most discriminative features.
Mechanism
Information gain = entropy of parent node minus the weighted average entropy of child nodes after splitting by a feature, quantifying how much uncertainty the feature reduces. Based on Shannon entropy: the purer the partition (the purer the child nodes), the larger the gain. Decision trees (ID3/C4.5) use this to select the optimal feature for each split.
Practice
In progress 0/6Practice this model in one real situation:
Cases
- Using "has mortgage" is more discriminative than "height" for credit default; in email classification, "contains keyword X" has high information gain; feature importance ranking in decision trees.
Common pitfalls
- Assuming high gain means causal importance (may be just correlation or many values); ignoring overfitting (tree too deep); using gain instead of gain ratio leads to bias towards features with many values.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E7%9B%B8%E5%AF%B9%E7%86%B5verified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS