官术网_书友最值得收藏!

  • 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
主站蜘蛛池模板: 霍山县| 元江| 乡宁县| 上饶县| 蓬安县| 邹平县| 通海县| 崇州市| 兴国县| 镶黄旗| 农安县| 红桥区| 剑川县| 西平县| 濮阳县| 江陵县| 从江县| 女性| 应城市| 武冈市| 英山县| 周口市| 石柱| 寻乌县| 工布江达县| 鱼台县| 根河市| 汕尾市| 宜昌市| 南雄市| 铜陵市| 贺州市| 鸡泽县| 汽车| 视频| 邹平县| 奉新县| 枝江市| 怀集县| 措勤县| 比如县|