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.

5. Create a C5.0 model using the test data set that utilizes the same target variable, predictor variables, and minimum cases criterion. Visualize the decision tree. Does the tree built using the test data match the tree built using the training data?

6. Use random forests on the training data set to obtain the predicted value of Response using the same predictor variables as in the CART and C5.0 models.

7. Use random forests on the test data set to obtain the predicted value of Response in the test data set. Build a table comparing the predictions from the training and test data sets. How do they compare?

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