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

Handling a nonlinear dataset

Suppose you need to train a classifier for the data shown in the following figure. What will be your approach to classify the data into two classes?

Figure 9.15: Nonlinear dataset

As you can see in the preceding figure, we can't find a decision boundary using a straight line or even a plane because this data is a linearly nonseparable dataset. So, what do we do with this kind of problem?

Well, mathematics has solutions for almost every kind of problem, so for this too. What we need to do is change our perception toward the data. I know you have not got anything I said! Let's understand the preceding problem with ...

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