Question: Data set can be downloaded from below link https://drive.google.com/file/d/1J2LbYDYxw5pPbESMbhVoDJeexIiPKOvA/view?usp=sharing data dictionary 1. age 2. sex 3. cp = chest pain type (4 values) 4. trestbps=

Data set can be downloaded from below link

https://drive.google.com/file/d/1J2LbYDYxw5pPbESMbhVoDJeexIiPKOvA/view?usp=sharing

data dictionary

1. age

2. sex

3. cp = chest pain type (4 values)

4. trestbps= resting blood pressure

5. chol= serum cholesterol in mg/dl

6. fbs= fasting blood sugar > 120 mg/dl

7. restecg= resting electrocardiographic results (values 0,1,2)

8. thalach= maximum heart rate achieved

9. exang= exercise induced angina

10. oldpeak = ST depression induced by exercise relative to rest

11. slope= the slope of the peak exercise ST segment

12. ca= number of major vessels (0-3) colored by flourosopy

13. Thal= 3 = normal; 6 = fixed defect; 7 = reversable defect

14. target= presence of heart disease or not (0,1)

A) Perform CART

B) TEST=0.3

C) MAX DEPTH 10 , MIN_SAMPLE_LEAF=5 ,MIN_SAMPLE_SPLIT=20 , RANDOM STATE=0

D)VARIABLE IMPROTANCE

E)CALCULATE AUC & ROC

F) GIVE CONFUSIONMATRIXFOR TRAINING DATA & TEST DATA

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 Mathematics Questions!