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

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
主站蜘蛛池模板: 定襄县| 平远县| 陇南市| 清流县| 石城县| 湟源县| 漯河市| 湟中县| 正镶白旗| 大田县| 克拉玛依市| 含山县| 化隆| 马龙县| 二连浩特市| 陕西省| 宿松县| 广丰县| 申扎县| 麻栗坡县| 秦皇岛市| 二连浩特市| 深水埗区| 东乡族自治县| 沂水县| 甘德县| 光泽县| 筠连县| 定南县| 松江区| 江源县| 隆安县| 新乡市| 驻马店市| 莫力| 南乐县| 峨边| 潼南县| 大洼县| 白城市| 海晏县|