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

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.
主站蜘蛛池模板: 竹山县| 乾安县| 民丰县| 花莲县| 克山县| 黎川县| 高邮市| 齐河县| 漯河市| 沈阳市| 西吉县| 筠连县| 武宁县| 绥宁县| 盖州市| 肃南| 仲巴县| 蒲江县| 乐平市| 葫芦岛市| 镇沅| 望城县| 夏河县| 抚宁县| 阿克陶县| 商丘市| 昌平区| 方正县| 苍溪县| 沈阳市| 中山市| 栖霞市| 墨竹工卡县| 贵南县| 通辽市| 新野县| 龙江县| 托克逊县| 北安市| 扬中市| 泰和县|