- Machine Learning with Swift
- Alexander Sosnovshchenko
- 136字
- 2021-06-24 18:55:05
KNN pros
- It's simple to implement if you are not going for optimized versions which use advanced data structures.
- It's easy to understand and interpret. The algorithm is well studied theoretically, and much known about its mathematical properties in different settings.
- You can plug in any distance metric. This allows working with complex objects, like time series, graphs, geographical coordinates, and basically anything you can define distance metric for.
- Algorithms can be used for classification, ranking, regression (using neighbors average or weighted average), recommendations, and can even provide (a kind of) probabilistic output—what proportion of neighbors voted for this class.
- It's easy to incorporate new data in the model or remove outdated data from it. This makes KNN a good choice for online learning (see Chapter 1, Getting Started with Machine Learning) systems.
推薦閱讀
- Istio入門與實戰(zhàn)
- Augmented Reality with Kinect
- Effective STL中文版:50條有效使用STL的經驗(雙色)
- Mastering Delphi Programming:A Complete Reference Guide
- Linux運維之道(第2版)
- 硬件產品經理成長手記(全彩)
- 平衡掌控者:游戲數值經濟設計
- Visual Media Processing Using Matlab Beginner's Guide
- Source SDK Game Development Essentials
- 龍芯自主可信計算及應用
- FL Studio Cookbook
- 單片微機原理及應用
- 微控制器的應用
- FPGA實戰(zhàn)訓練精粹
- 創(chuàng)客電子:Arduino和Raspberry Pi智能制作項目精選