It is a Mistake to Rely on One Technique
In his Top 10 Data Mining Mistakes John Elder shares lessons learned from more than 20 years of data science consulting experience. Avoiding these mistakes are cornerstones to any successful analytics project. In this blog about Mistake #2 you will learn about the dangers of relying on a single technique and some of the benefits of employing a handful of good tools.
“To a little boy with a hammer, all the world’s a nail.” All of us have had colleagues (at least) for whom the best solution for a problem happens to be the type of analysis in which they are most skilled! For many reasons, most researchers and practitioners focus too narrowly on one type of modeling technique. But, for best results, one needs a whole toolkit. At the very least, be sure to compare any new and promising method against a stodgy conventional one, such as linear regression (LR) or linear discriminant analysis (LDA). In a study of articles in a Neural Network journal over a 3-year period (about a decade ago), only 17% of the articles avoided this mistake and the one in last issue (Focusing too much on Training). That is, five of every six refereed articles either looked only at training data or didn’t compare results against a baseline method, or made both of those mistakes. One can only assume that conference papers and unpublished experiments, subject to less scrutiny, are even less rigorous.
Using only one modeling method leads one to credit (or blame) it for the results. Most often, it is more accurate to blame the data. It is unusual for the particular modeling technique to make more difference than the expertise of the practitioner or the inherent difficulty of the data — and when the method will matter strongly is hard to predict. It is best to employ a handful of good tools. Once the data is made useful — which usually eats most of your time — running another algorithm with which you are familiar and analyzing its results adds only 5–10% more effort. (But, to your client, boss, or research reviewers, it looks like twice the work!)
The true variety of modeling algorithms is much less than the apparent variety, as many methods devolve to variations on a handful of elemental forms. But, there are real differences in how that handful build surfaces to “connect the dots” of the training data, as illustrated in Figure 1 for five different methods — Decision Tree, Polynomial Network, Delaunay Triangles (which I invented), Adaptive Kernels, and Nearest Neighbors — on (different) two-dimensional input data. Surely some surfaces have characteristics more appropriate than others for a given problem.
Figure 2 (from work done with Stephen Lee) reveals this performance issue graphically. The relative error of five different methods — Neural Network, Logistic regression, Linear Vector Quantization, Projection Pursuit Regression, and Decision Tree — is plotted for six different problems from the Machine Learning Repository. 
Note that “every dog has its day”; that is, that every method wins or nearly wins on at least one problem.On this set of experiments, Neural Networks came out best, but how does one predict beforehand which technique will work best for your problem?Best to try several, and even use a combination (as in Chapter 13 of the Handbook).
 The worst out-of-sample error for each problem is shown as a value near 1 and the best as near 0. The problems, along the X-axis, are arranged left-to-right by increasing proportion of error variance. So, the methods differed least on the Pima Indians Diabetes data and most on the (toy) Investment data. The models were built by advocates of the techniques (using S implementations), reducing the “tender loving care” factor of performance differences. Still, the UCI ML repository data are over-studied; there are likely fewer cases in those datasets than there are papers employing them!
 When I used this colloquialism in a presentation in Santiago, Chile the excellent translator employed a quite different Spanish phrase, roughly “Tell the pig Christmas is coming!” I had meant every method has a situation in which it celebrates; the translation conveyed the concept on the flip-side: “You think you’re something, eh pig? Well, soon you’ll be dinner!”
 An excellent comparative study examining nearly two dozen methods (though nine are variations on Decision Trees) against as many problems is (Michie, Spiegelhalter, and Taylor, 1994, reviewed by me for JASA 1996). Armed with the matrix of results, the authors even built a decision tree to predict which method would work best on a problem with given data characteristics.
Learn about more common data mining mistakes. Download the eBook The Top 10 Data Mining Mistakes
Read the blog It is a Mistake to Accept Leaks from the Future
Read the blog It is a Mistake to Listen Only to the Data
Originally published at www.elderresearch.com.