code in R 12. Write the expression for the entropy of a collection that has 9 positively labeled items and 13 negatively
Posted: Tue Jul 12, 2022 8:15 am
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)
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)