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

Predicting Categories with K-Nearest Neighbors

The k-Nearest Neighbors (k-NN) algorithm is a form of supervised machine learning that is used to predict categories. In this chapter, you will learn about the following:

  • Preparing a dataset for machine learning with scikit-learn
  • How the k-NN algorithm works under the hood
  • Implementing your first k-NN algorithm to predict a fraudulent transaction
  • Fine-tuning the parameters of the k-NN algorithm
  • Scaling your data for optimized performance

The k-NN algorithm has a wide range of applications in the field of classification and supervised machine learning. Some of the real-world applications for this algorithm include predicting loan defaults and credit-based fraud in the financial industry and predicting whether a patient has cancer in the healthcare industry.

This book's design facilitates the implementation of a robust machine learning pipeline for each and every algorithm mentioned in the book, and a Jupyter Notebook will be required. 

The Jupyter Notebook can be installed on your local machine by following the instructions provided at: https://jupyter.org/install.html.

Alternatively, you can also work with the Jupyter Notebook in the browser by using: https://jupyter.org/try.

Each chapter in this book comes with a pipeline that is implemented in a Jupyter Notebook on the official GitHub repository of this book, and as such, it is highly recommended that you install Jupyter Notebook on your local machine.
主站蜘蛛池模板: 石家庄市| 威宁| 迁西县| 唐海县| 嘉鱼县| 肇源县| 麦盖提县| 明光市| 新龙县| 运城市| 监利县| 班玛县| 德安县| 堆龙德庆县| 临沂市| 天等县| 高台县| 溧阳市| 沁阳市| 沂水县| 巴中市| 金秀| 虞城县| 宜都市| 渑池县| 义乌市| 山东省| 闽侯县| 抚松县| 新疆| 灌南县| 双流县| 开江县| 宣威市| 丘北县| 亚东县| 丹寨县| 丹东市| 同仁县| 卫辉市| 巴彦淖尔市|