Our entire population consists of 16 instances: 9 belong to the Corvid19=Yes class and the other 7 belong to the Corvid1
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Our entire population consists of 16 instances: 9 belong to the Corvid19=Yes class and the other 7 belong to the Corvid1
Our entire population consists of 16 instances: 9 belong to the Corvid19=Yes class and the other 7 belong to the Corvid19=No class. See the table below. There are three features: “Body Temperature” that can take on 3 values: < 35.5°C, 35.5°C to 37.5°C or >= 38°C "Cough” that can take on two values: “Yes”, “No” "Diarrhea” that can take on 3 values: “watery”, “fatty”, “none" Body Temerature >= 38°C < 35.5°C >= 38°C < 35.5°C 35.5°C to 37.5°C 35.5°C to 37.5°C >= 38°C >= 38°C 35.5°C to 37.5° 35.5°C to 37.5° >= 38°C 35.5°C to 37.5° 35.5°C to 37.5° < 35.5°C >= 38°C 35.5°C to 37.5° Cough Diarrhea Yes watery Yes none Yes fatty No none No none Yes watery Yes watery Yes fatty No fatty No none No none No none Yes watery No fatty Yes watery No watery Corvid19? Yes No Yes No Yes Yes Yes Yes No No Yes No No No Yes Yes (a) Calculate the Information Gain for ‘Body Temperature', 'Cough', 'Diarrhea' feature. Show your working steps, (round your answers off to 5 decimal places). (b) Which feature provides the best split if information gain is the splitting criterion?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!