O'Reilly logo

Data Analysis with R - Second Edition by Tony Fischetti

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

The vertical decision boundary

The first contrived dataset we will be looking at is the one in the top-left panel of Figure 10.11. This is a relatively simple classification problem because, just by visual inspection, you can tell that the optimal decision boundary is a vertical line. Let's see how each of our classifiers fair on this dataset:

Figure 10.12: A plot of the decision boundaries of our four classifiers on our first contrived dataset

As you can see, all of our classifiers performed well on this simple dataset; all of the methods find an appropriate straight vertical line that is most representative of the class division. In general, ...

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