O'Reilly logo

Ensemble Machine Learning by Ankit Dixit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AdaBoost in action

Now it's time to create an AdaBoost classifier to build our concepts more strongly on the algorithm. Do you remember the box problem we had seen in the second example of the AdaBoost explanation? Well, we will solve the same problem and create an AdaBoost classifier to classify the instances into respected classes.

Let's look at the problem once again.

You can see the box with some blue + and red - signs; let's assume the + sign instances are positive instances with class label +1 and red ones are negative instances with class label -1:

Figure 5.16: Nonlinear separation problem

First, we need to create these instances using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required