Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In RStudio, I need to do it with neural networks and decision trees. Use Heart Disease Dataset (heart_disease_dataset.csv) to perform the following studies about the
In RStudio, I need to do it with neural networks and decision trees.
Use Heart Disease Dataset (heart_disease_dataset.csv) to perform the following studies about the classification. (Target Variable(TV) is diagnosis of the disease such as 0 (Absence of Heart Disease) or 1 (Presence of Heart Disease)) - Create both training (75%) and testing (25%) sets by selecting samples randomly. - Apply the following methods for classification and calculate success of each method. o Support Vector Machine o Decision Tree o Random Forest o Neural Networks - Find the best method according to their success. - The program will produce a plot with two panels, Plot tree, Plot bar chart to show success of each method in same graph. age sex cptrestbps chol fbs restecg thalach exang oldpeak slope ca thal TV 63 1 1 145 233 1 2 150 0 2.3 3 0 6 67 1 4 160 286 2 108 1 1.5 2 3 3 1 120 229 o 2 129 1 2.6 2 2 7 1 67 1 4 37 1 3 130 37 250 0 O 187 0 3.5 3 o 3 O 41 0 2 130 204 o 2 172 0 1.4 1 0 3 O 56 1 2 120 236 O 0 178 O 0.8 1 3 0 62 0 4 140 268 O 2 160 0 3.6 3 2 3 1 57 0 4 120 354 O 0 163 1 0.6 1 0 3 0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started