- 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.
推薦閱讀
- Learning SQL Server Reporting Services 2012
- 電腦常見問題與故障排除
- The Applied AI and Natural Language Processing Workshop
- 從零開始學51單片機C語言
- 計算機維修與維護技術速成
- 筆記本電腦維修不是事兒(第2版)
- 基于Apache Kylin構建大數據分析平臺
- Practical Machine Learning with R
- 筆記本電腦使用、維護與故障排除從入門到精通(第5版)
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- Spring Security 3.x Cookbook
- The Artificial Intelligence Infrastructure Workshop
- USB應用開發寶典
- Drupal Rules How-to
- Corona SDK Mobile Game Development:Beginner's Guide