Analytics Department

Create a decision tree model where every terminal node has at least 25 observations. Do you notice any difference between this model and the model created in part (6) above? Explain.

Assignment Decision Trees: Following the steps defined below, create a decision tree model to predict whether an individual has diabetes: (a) Using the training and testing partitions created in question 3, create a decision tree model on your training data to predict the ”Outcome” variable using the rpart function. In your console, print the decision […]

Scroll to top