Decision Tree using R - English

53 visits



Outline:

Decision Tree using R About decision tree. Advantages of decision trees. Application of decision trees. Practical implementation of decision trees in R. Construct a decision tree using iris data. Use rpart package to construct a decision tree. Use the model to predict the class of species. Tabulates the results by comparing the predicted species with the actual species. Plot the results of the decision tree model. Disadvantages of decision trees.