- Machine Learning with Swift
- Alexander Sosnovshchenko
- 136字
- 2021-06-24 18:55:02
K-Nearest Neighbors Classifier
This chapter is devoted to an important class of machine learning algorithms, known as instance-based models. The name comes from the fact that they are built around the notion of similarity between instances (distance) and the geometrical intuition behind it. As a practical application of our newly learned skills, we will build an app that recognizes types of user movements based on the data from motion sensors and learns completely on device (no Python this time).
The algorithms that we are discussing and implementing in this chapter are k-nearest neighbors (KNN) and dynamic time warping (DTW).
In this chapter, we will cover the following topics:
- Choosing a distance metric—Euclidean, edit distance, taxicab, and DTW
- Building a KNN multiclass classifier
- Geometrical intuition behind machine learning models
- Reasoning in high-dimensional spaces
- Choosing hyperparameters
推薦閱讀
- FPGA從入門到精通(實戰(zhàn)篇)
- 顯卡維修知識精解
- 網(wǎng)絡(luò)服務(wù)器配置與管理(第3版)
- SDL Game Development
- 數(shù)字邏輯(第3版)
- 從零開始學(xué)51單片機C語言
- Hands-On Machine Learning with C#
- Rapid BeagleBoard Prototyping with MATLAB and Simulink
- SiFive 經(jīng)典RISC-V FE310微控制器原理與實踐
- Source SDK Game Development Essentials
- Hands-On Deep Learning for Images with TensorFlow
- 電腦橫機使用與維修
- 單片微機原理及應(yīng)用
- 筆記本電腦維修技能實訓(xùn)
- Deep Learning with Keras