Lably
Skip to content

AdaBoost

Adaptive boosting based classification algorithm

  • 9 min read
  • 6 chapters

Related on Lably

Through Real number, Decision tree and Data set

AdaBoost is adaptive in the sense that subsequent weak learners (models) are adjusted in favor of instances misclassified by previous models. In some problems, it can be less susceptible to overfitting than other learning algorithms. The individual learners can be weak, but as long as the performance of each one is slightly better than random guessing, the final model can be proven to converge to a strong learner.

Although AdaBoost is typically used to combine weak base learners (such as decision stumps), it has been shown to also effectively combine strong base learners (such as deeper decision trees), producing an even more accurate model.

Every learning algorithm tends to suit some problem types better than others, and typically has many different parameters and configurations to adjust before it achieves optimal performance on a dataset. AdaBoost (with decision trees as the weak learners) is often referred to as the best out-of-the-box classifier. When used with decision tree learning, information gathered at each stage of the AdaBoost algorithm about the relative 'hardness' of each training sample is fed into the tree-growing algorithm such that later trees tend to focus on harder-to-classify examples.

Training

AdaBoost refers to a particular method of training a boosted classifier. A boosted classifier is a classifier of the form FT(x)=∑t=1Tft(x) where each ft is a weak learner that takes an object x as input and returns a value indicating the class of the object. For example, in the two-class problem, the sign of the weak learner's output identifies the predicted object class and the absolute value gives the confidence in that classification.

Each weak learner produces an output hypothesis h which fixes a prediction h(xi) for each sample in the training set. At each iteration t, a weak learner is selected and assigned a coefficient αt such that the total training error Et of the resulting t-stage boosted classifier is minimized.

Et=∑iE[Ft−1(xi)+αth(xi)]

Here Ft−1(x) is the boosted classifier that has been built up to the previous stage of training and ft(x)=αth(x) is the weak learner that is being considered for addition to the final classifier.

Weighting

At each iteration of the training process, a weight wi,t is assigned to each sample in the training set equal to the current error E(Ft−1(xi)) on that sample. These weights can be used in the training of the weak learner. For instance, decision trees can be grown which favor the splitting of sets of samples with large weights.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Robotics