- 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.
推薦閱讀
- 圖解西門子S7-200系列PLC入門
- 電腦軟硬件維修大全(實例精華版)
- 極簡Spring Cloud實戰(zhàn)
- 辦公通信設(shè)備維修
- 嵌入式系統(tǒng)設(shè)計教程
- 從零開始學(xué)51單片機C語言
- Mastering Manga Studio 5
- Learning Stencyl 3.x Game Development Beginner's Guide
- Practical Machine Learning with R
- Spring Cloud微服務(wù)架構(gòu)實戰(zhàn)
- SiFive 經(jīng)典RISC-V FE310微控制器原理與實踐
- 筆記本電腦使用、維護與故障排除從入門到精通(第5版)
- Python Machine Learning Blueprints
- 筆記本電腦芯片級維修從入門到精通(圖解版)
- 計算機組成技術(shù)教程