Choosing a classifier

These are just four of the most popular classifiers out there, but there are many more to choose from. Although some classification mechanisms perform better on some types of datasets than others, it can be hard to develop an intuition for exactly the ones they are suitable for. In order to help with this, we will be examining the efficacy of our four classifiers on four different two-dimensional made-up datasets—each with a vastly different optimal decision boundary. In doing so, we will learn more about the characteristics of each classifier and have a better sense of the kinds of data they might be better suited for.

The four datasets are depicted in Figure 9.11:

Figure 9.11: A plot depicting the class patterns of our four ...

Get R: Predictive Analysis now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.