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

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
主站蜘蛛池模板: 定边县| 寻甸| 长顺县| 宁津县| 南郑县| 宝兴县| 原阳县| 广平县| 义马市| 峨边| 阜南县| 呼玛县| 景泰县| 明溪县| 保定市| 江华| 连平县| 大化| 壶关县| 合阳县| 财经| 新蔡县| 平安县| 宝山区| 延吉市| 成都市| 积石山| 永年县| 砀山县| 怀化市| 旺苍县| 聂荣县| 黑水县| 西畴县| 汨罗市| 滨州市| 介休市| 海口市| 石门县| 玛纳斯县| 明星|