Question: NOTE: For this activity, pelase use google colab. Upload the said data set to your File explorer. You may also use Jupiter for this activity.
NOTE: For this activity, pelase use google colab. Upload the said data set to your File explorer. You may also use Jupiter for this activity.
Do and answer the following. Provide an explanation or observation for each item.
1. Create a CART model using the training data set that predicts Response using whatever predictors you think appropriate. Visualize the decision tree. Describe the first few splits in the decision tree.
2. Develop a CART model using the test data set and the same target and predictor variables. Visualize the decision tree. Investigate the splits in the decision tree. Does the tree built using the test data match the tree built using the training data?
3. Build a C5.0 model using the training data set that predicts Response and the same target and predictor variables. Specify a minimum of 1000 cases per terminal node. Visualize the decision tree. Describe the first few splits in the decision tree.
4. How does your C5.0 model compare to your CART model for the bank_marketing_training data? Describe the similarities and differences.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
