- 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
推薦閱讀
- 24小時學會電腦組裝與維護
- Windows phone 7.5 application development with F#
- 嵌入式系統設計教程
- 深入淺出SSD:固態存儲核心技術、原理與實戰(第2版)
- 單片機原理及應用系統設計
- The Deep Learning with Keras Workshop
- 單片機技術及應用
- Hands-On Motion Graphics with Adobe After Effects CC
- Istio實戰指南
- 計算機電路基礎(第2版)
- FPGA實驗實訓教程
- 計算機應用基礎案例教程(Windows 7+Office 2010)
- MicroPython Cookbook
- Applied Deep Learning with Keras
- 3D打印:Geomagic Design X5.1 逆向建模設計實用教程