- Hands-On Machine Learning with Microsoft Excel 2019
- Julio Cesar Rodriguez Martino
- 49字
- 2025-02-18 10:03:37
Entropy of each feature with respect to the target variable
The entropy of two variables f1 and f2 is defined as follows:

Here, v represents each possible value of f2, P(v) is the probability of each value, and S(v) was defined in the previous equation.