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

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"],[ID015,"Yes","Normal","Yes","Obese","Yes"],[ID016,"No","Normal","Yes","Overweight","Yes"],[ID017,"Yes","High","Yes","Obese","Yes"],[ID019,"Yes","High","No","Normal","No"]]
a) Apply SVM classifier on the above data using Matlab (i.e. using "fitcsvm" function) or Python. ((with RBF kernel, and hold out (70% training, 30% testing))
b) Find the confusion matrix.
Consider the dataset described in Table 1 . The

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!