Chapter 8
Ensemble Learning
Section 8
Classifying Data with Random Forest
Random forest grows multiple decision trees which will output their own prediction results. The forest will use the voting mechanism to select the most voted class as the prediction result. In this video, we illustrate how to classify data using the randomForest package. - Install and load the randomForest package - Plot the mean square error of the forest object - Use the varImpPlot function, the margin function, hist, and boxplot