Question: How to solve Consider the dataset described in Table 1 . The data consists of clinical data about several patients, relating four features ( Hypertension

How to solve
Consider the dataset described in Table 1. The data consists of clinical data about several patients, relating four features (Hypertension, Cholesterol level, Smoking and Weight) with the existence of coronary disease.
Table 1: Data-set D with clinical data.
\table[[Pat. N.,Hypertension,Cholesterol Lev.,Smoker,Weight,Coronary Dis.],[ID001,"Yes","Normal","No","Overweight","Yes"],[ID002,"No","Normal","Yes","Normal","No"],[ID003,"No","Critical","No","Overweight","Yes"],[ID004,"No","High","Yes","Overweight","Yes"],[ID005,"Yes","Critical","Yes","Obese","Yes"],[ID006,"Yes","High","Yes","Normal","Yes"],[ID007,"No","High","No","Obese","No"],[ID008,"Yes","Normal","Yes","Normal","Yes"],[ID009,"Yes","Critical","No","Obese","Yes"],[ID010,"No","Normal","No","Overweight","No"],[ID011,"No","Critical","Yes","Normal","Yes"],[ID012,"Yes","High","No","Overweight","No"],[ID013,"Yes","Normal","Yes","Overweight","Yes"],[ID014,"Yes","High","No","Obese","No"]]
a) Using the data in Table 1, calculate the training data set using Nave Bayes.
b) Consider the test-set in Table 2. Determine the classification of each of the observations using Naive Bayes. Show your classification in a confusion matrix.
Table 2: Test-set with additional patient data.
\table[[Pat. N.,Hypertension,Cholesterol Lev.,Smoker,Weight,Coronary Dis.],[ID015,"Yes","Normal","Yes","Obese","Yes"],[ID016,"No","Normal","Yes","Overweight","Yes"],[ID017,"Yes","High","Yes","Obese","Yes"],[ID018,"Yes","High","No","Normal","No"],[ID019,"Yes","Normal","No","Normal","No"]]
How to solve Consider the dataset described in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!