Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume you would like to develop a classification model to predict COVID-19 based on the symptomfeatures. You have a dataset of 100 patient records to

Assume you would like to develop a classification model to predict COVID-19 based on the symptomfeatures. You have a dataset of 100 patient records to consider in the training process. Each recorddescribe a patient by their attributes ofls-Fever, Is-Tiredness, and Is-Cough. Each attribute has two valuesofT(indicating True) and F(indicating False). The class label tells us whether a patient gets COVID.19 infection, where .. " represents False, and "+'represents True. The following table summarizes thepatient dataset and two class labels +,-"

image text in transcribed

image text in transcribed

Assume you would like to develop a classification model to predict COVID-19 based on the symptom features. You have a dataset of 100 patient records to consider in the training process. Each record describe a patient by their attributes of Is-Fever, Is-Tiredness, and Is-Cough. Each attribute has two values of ' T ' (indicating True) and 'F' (indicating False). The class label tells us whether a patient gets COVID19 infection, where '- 'represents False, and '+' represents True. The following table summarizes the patient dataset and two class labels ' + ', '-'. a) Construct a decision tree classifier based on the records of 100 labeled patients. Calculate the gain in the Gini index when splitting on attributes Is-Fever and Is-Tiredness, respectively. According to the Gini index based gains, which one will you choose as the first attribute to split in the decision tree induction? b) Write a completed decision tree using the CART algorithm, which uses the Gini index based impurity measurement. c) Calculate the training instances are misclassified by the resulting decision tree. d) Predict the class labels of three new patients X, Y, and Z below, according to your constructed decision tree classifier

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+8.4. Show that B 8 [W] k-0 n=1m=1 A-1

Answered: 1 week ago