Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use set.seed ( 6 7 5 1 3 4 2 ) and split the credit card default data set into training and validation sets using

Use set.seed(6751342) and split the credit card default data set into training and validation sets using 70% and 30% split, respectively. How many rows are in the original data set, the training set, and the validation set?
Use set.seed(6751342) and create a classification decision tree for the default variable using missed payment, credit utilization, and assets as predictors. Include the cost-complexity (cp) table.
Plot the validation error against the cost-complexity parameter (cp). What is an appropriate cp value to use in pruning the tree?
Use set.seed(6751342) and prune the tree using the appropriate cp value and include the plot of the resulting decision tree. IN R

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

Recommended Textbook for

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

Students also viewed these Databases questions

Question

Find 2 X.05.15

Answered: 1 week ago