- Advanced Machine Learning with R
- Cory Lesmeister Dr. Sunil Kumar Chinnamgari
- 240字
- 2021-06-24 14:24:40
K-Nearest Neighbors and Support Vector Machines
In Chapter 3, Logistic Regression, we discussed using generalized linear models to determine the probability that a predicted observation belongs to a categorical response what we refer to as a classification problem. That was just the beginning of classification methods, with many techniques that we can use to try and improve our predictions.
In this chapter, we'll delve into two nonlinear techniques: K-Nearest Neighbors (KNN) and Support Vector Machines (SVMs). These techniques are more sophisticated than those we discussed earlier because the assumptions on linearity can be relaxed, which means a linear combination of the features to define the decision boundary isn't needed. Be forewarned, though, that this doesn't always equal superior predictive ability. Additionally, these models can be a bit problematic to interpret for business partners, and they can be computationally inefficient. When used wisely, they provide a powerful complement to the other tools and techniques discussed in this book. They can be used for continuous outcomes in addition to classification problems; however, for this chapter, we'll focus only on the latter.
After a high-level background on the techniques, we'll put both of them to the test, starting with KNN.
Following are the topics that we'll be covering in this chapter:
- K-nearest neighbors
- Support vector machines
- Manipulating data
- Modeling and evaluation
- ATmega16單片機(jī)項(xiàng)目驅(qū)動(dòng)教程
- 基于Proteus和Keil的C51程序設(shè)計(jì)項(xiàng)目教程(第2版):理論、仿真、實(shí)踐相融合
- 電腦組裝、維護(hù)、維修全能一本通(全彩版)
- INSTANT ForgedUI Starter
- 筆記本電腦應(yīng)用技巧
- Angular 6 by Example
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)案例教程(Windows 7+Office 2010)
- Arduino案例實(shí)戰(zhàn)(卷Ⅳ)
- CPU設(shè)計(jì)實(shí)戰(zhàn):LoongArch版
- 51單片機(jī)應(yīng)用開發(fā)從入門到精通
- Windows Presentation Foundation 4.5 Cookbook
- SOA架構(gòu):服務(wù)和微服務(wù)分析及設(shè)計(jì)(原書第2版)
- 3D打印:從全面了解到親手制作(全彩版)
- Mastering Adobe Photoshop Elements 2020
- Avid Media Composer 6.x Cookbook