Consider The Following Data Set Of Animal Where Each Observation Is Assigned To A Target Class Positive Or Negative 1 (79.72 KiB) Viewed 20 times
Consider the following data set of animal where each observation is assigned to a target class: Positive (+) or Negative (-). + Example Environment? Mammal? Class Ant Land No Bat Land Yes Dolphin Sea Yes Lizard Land No Sea Lion Sea Yes Zebra Land Yes Shark Sea No Mouse Land Yes Chicken Land No + + Based on the produced decision tree, what would be the predicted class for Tiger, given (Environment =Land, Mammal=Yes)? Mammal? N Y Environment? Sea Land + O Land оо O Mammal O Positive (+) Negative (-)
What is the entropy of a binary-labeled dataset with 5 Positive and 3 Negative samples? [N, N, N, P, P, P, P, P] a. 5/8 log(5/8) + 3/8 log(3/8) O b.- [ 8/5 log(8/5) - 8/3 log(8/3)] O c. - [3/8 log(5/8) + 5/8 log(3/8)] O d. - [5/8 log(5/8) + 3/8 log(3/8)]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!