6 ENSEMBLE METHODS
6.1 BAGGING
6.1.1 The Origins: Bagging Predictors
Breiman introduced the term bagging as an acronym for Bootstrap AGGregatING [46]. The idea of bagging is simple and appealing: the ensemble is made of classifiers built on bootstrap replicates of the training set. The classifier outputs are combined by the plurality vote [47].
The diversity necessary to make the ensemble work is created by using different training sets. Ideally, the training sets should be generated randomly from the distribution of the problem. In practice, we can only afford one labeled training set, Z = {z1, …, zN}, and have to imitate the process or random generation of L training sets. We sample with replacement from the original training set (bootstrap sampling [115]) to create a new training set of length N. To make use of the variations of the training set, the base classifier should be unstable. In other words, small changes in the training set should lead to large changes in the classifier output. Otherwise, the resultant ensemble will be a collection of almost identical classifiers, therefore unlikely to improve on a single classifier’s performance. Figure 6.1 shows the training and operation of bagging.
|
BAGGING ENSEMBLE Training: Given is a labeled data set Z = {z1, …, zN}.
Operation: For each new object
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access