In the upcoming case study, we'll apply KNN and SVM to the same dataset. This will allow us to compare R code and learning methods on the same problem, starting with KNN. We'll also spend time drilling down into new ways of comparing different classifiers on the same data.
Manipulating data
Dataset creation
The data we use in this chapter can be downloaded from any source on the internet or from GitHub at this link: https://github.com/datameister66/MMLR3rd/blob/master/chapter5.
I found this data on a website dedicated to providing datasets for support vector machine analysis. You can follow the following link to find numerous sets to test your learning methods: https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets...