- 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
- Arduino入門基礎(chǔ)教程
- Cortex-M3 + μC/OS-II嵌入式系統(tǒng)開發(fā)入門與應(yīng)用
- Raspberry Pi 3 Cookbook for Python Programmers
- Mastering Delphi Programming:A Complete Reference Guide
- 嵌入式技術(shù)基礎(chǔ)與實(shí)踐(第5版)
- 硬件產(chǎn)品經(jīng)理手冊(cè):手把手構(gòu)建智能硬件產(chǎn)品
- Mastering Manga Studio 5
- 分布式系統(tǒng)與一致性
- The Deep Learning with Keras Workshop
- Mastering Adobe Photoshop Elements
- 計(jì)算機(jī)組裝維修與外設(shè)配置(高等職業(yè)院校教改示范教材·計(jì)算機(jī)系列)
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- Spring Cloud實(shí)戰(zhàn)
- Istio實(shí)戰(zhàn)指南
- 微服務(wù)實(shí)戰(zhàn)