code in R
12. Write the expression for the entropy of a collection thathas 9 positively labeled items and 13 negatively labeled items? (2points)
13. Write the expression for the information gain of anattribute that takes a collection with 12 positive items and 52negative items and divides it into three collections: the firsthaving 10 positive and 20 negative items, the second having 2positive and 10 negative items, and the third having just 22negative items? (2 points)
code in R 12. Write the expression for the entropy of a collection that has 9 positively labeled items and 13 negatively
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am