Chapter 8
Ensemble Learning
Section 1
Classifying Data with the Bagging Method
The adabag package implements both boosting and bagging methods. For the bagging method, the package first generates multiple versions of classifiers, and then obtains an aggregated classifier. Let’s learn the bagging method from adabag to generate a classification model. - Install the adabag package and use the bagging function - Generate the classification model - Obtain a classification table and average error