The Wayback Machine - https://web.archive.org/web/20251208195145/https://www.geeksforgeeks.org/machine-learning/adaboost-in-machine-learning/
Open In App

AdaBoost in Machine Learning

Last Updated : 14 Nov, 2025
Comments
Improve
Suggest changes
37 Likes
Like
Report

AdaBoost is a boosting technique that combines several weak classifiers in sequence to build a strong one. Each new model focuses on correcting the mistakes of the previous one until all data is correctly classified or a set number of iterations is reached.

Think of it like in a class, a teacher focuses more on weak learners to improve its academic performance, similarly boosting work.

Adaboost Working

AdaBoost (Adaptive Boosting) assigns equal weights to all training samples initially and iteratively adjusts these weights by focusing more on misclassified data points for the next model. It effectively reduces bias and variance making it useful for classification tasks but it can be sensitive to noisy data and outliers.

420046939
Training a boosting model 

The above diagram explains the AdaBoost algorithm in a very simple way. Let’s try to understand it in a stepwise process: 

Step 1: Initial Model (B1)

  • The dataset consists of multiple data points (red, blue and green circles).
  • Equal weight is assigned to each data point.
  • The first weak classifier attempts to create a decision boundary.
  • 8 data points are wrongly classified.

Step 2: Adjusting Weights (B2)

  • The misclassified points from B1 are assigned higher weights (shown as darker points in the next step).
  • A new classifier is trained with a refined decision boundary focusing more on the previously misclassified points.
  • Some previously misclassified points are now correctly classified.
  • 6 data points are wrongly classified.

Step 3: Further Adjustment (B3)

  • The newly misclassified points from B2 receive higher weights to ensure better classification.
  • The classifier adjusts again using an improved decision boundary and 4 data points remain misclassified.

Step 4: Final Strong Model (B4 - Ensemble Model)

  • The final ensemble classifier combines B1, B2 and B3 to get strengths of all weak classifiers.
  • By aggregating multiple models the ensemble model achieves higher accuracy than any individual weak model.

Now that we have learned how boosting works using Adaboost now we will learn more about different types of boosting algorithms.

Types Of Boosting Algorithms

There are several types of boosting algorithms some of the most famous and useful models are as :

  1. Gradient Boosting: Gradient Boosting constructs models in a sequential manner where each weak learner minimizes the residual error of the previous one using gradient descent. Instead of adjusting sample weights like AdaBoost Gradient Boosting reduces error directly by optimizing a loss function.
  2. XGBoost: XGBoost is an optimized version of Gradient Boosting that uses regularization to prevent overfitting. It is faster, efficient and supports handling both numerical and categorical variables.
  3. CatBoost: CatBoost is particularly effective for datasets with categorical features. It employs symmetric decision trees and a unique encoding method that considers target values, making it superior in handling categorical data without preprocessing.

Advantages of Boosting 

  • Improved Accuracy: By combining multiple weak learners it enhances predictive accuracy for both classification and regression tasks.
  • Robustness to Overfitting: Unlike traditional models it dynamically adjusts weights to prevent overfitting.
  • Handles Imbalanced Data Well: It prioritizes misclassified points making it effective for imbalanced datasets.
  • Better Interpretability: The sequential nature of helps break down decision-making making the model more interpretable.

By understanding Boosting and its applications we can use its capabilities to solve complex real-world problems effectively.

Related Article

Suggested Quiz
4 Questions

In AdaBoost, how are misclassified points handled?

  • A

    Ignored completely

  • B

    Assigned higher weights in the next iteration

  • C

    Assigned lower weights

  • D

    Removed from the dataset

Explanation:

AdaBoost increases weights of misclassified points so the next model focuses more on them.

What is a major advantage of Boosting algorithms?

  • A

    They only work with numerical features

  • B

    They improve accuracy by focusing on misclassified points

  • C

    They ignore imbalanced datasets

  • D

    They always avoid overfitting

Explanation:

Boosting dynamically adjusts weights, making it effective even with imbalanced datasets.

Why are sample weights updated after each iteration in AdaBoost?

  • A

    To reduce variance

  • B

    To make computation faster

  • C

    To remove redundant features

  • D

    To give more focus to misclassified samples

Explanation:

AdaBoost increases weights of wrongly classified data so the next model learns them better.

Why does AdaBoost assign higher weights to newly misclassified points after each iteration?

  • A

    To increase the training speed

  • B

    To make all samples contribute equally

  • C

    To give more importance to difficult samples in the next classifier

  • D

    To reduce the number of learners required

Explanation:

AdaBoost highlights difficult samples by increasing their weights so the next model focuses on them.

Quiz Completed Successfully
Your Score :   2/4
Accuracy :  0%
Login to View Explanation
1/4 1/4 < Previous Next >

Explore