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

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
主站蜘蛛池模板: 玉山县| 翁源县| 潍坊市| 枣阳市| 突泉县| 汕尾市| 台湾省| 烟台市| 衡阳市| 特克斯县| 浪卡子县| 诸暨市| 军事| 嵊泗县| 西林县| 托克逊县| 遂溪县| 太白县| 富宁县| 格尔木市| 兰西县| 新建县| 公安县| 阳信县| 桐梓县| 赫章县| 五河县| 卢湾区| 沧源| 高雄市| 綦江县| 齐河县| 青冈县| 腾冲县| 元阳县| 杨浦区| 潞西市| 泉州市| 平安县| 孝感市| 天台县|