![Hands-On Machine Learning with Microsoft Excel 2019](https://wfqqreader-1252317822.image.myqcloud.com/cover/668/36698668/b_36698668.jpg)
上QQ阅读APP看书,第一时间看更新
Entropy of each feature with respect to the target variable
The entropy of two variables f1 and f2 is defined as follows:
![](https://epubservercos.yuewen.com/33541B/19470379501493906/epubprivate/OEBPS/Images/0b6434d3-d2fb-4a52-820d-e3b14870dc30.png?sign=1739669374-ywR08xiZ7aTrpbTqxIOXYF4p02wTlx8S-0-fa7324235759d3aba05c8a60ac4aa0fa)
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.