- Machine Learning with scikit:learn Quick Start Guide
- Kevin Jolly
- 99字
- 2021-06-24 18:15:56
Implementing the k-NN algorithm using scikit-learn
In the following section, we will implement the first version of the k-NN algorithm and assess its initial accuracy. When implementing machine learning algorithms using scikit-learn, it is always a good practice to implement algorithms without fine-tuning or optimizing any of the associated parameters first in order to evaluate how well it performs.
In the following section, you will learn how to do the following:
- Split your data into training and test sets
- Implement the first version of the algorithm on the data
- Evaluate the accuracy of your model using a k-NN score
推薦閱讀
- 繪制進程圖:可視化D++語言(第1冊)
- 大數據導論:思維、技術與應用
- Introduction to DevOps with Kubernetes
- 反饋系統:多學科視角(原書第2版)
- Spark大數據技術與應用
- Kubernetes for Developers
- 運動控制系統應用與實踐
- 水下無線傳感器網絡的通信與決策技術
- Containers in OpenStack
- Mastering Geospatial Analysis with Python
- 生物3D打?。簭尼t療輔具制造到細胞打印
- Ansible 2 Cloud Automation Cookbook
- Mastering Ansible(Second Edition)
- 數據要素:全球經濟社會發展的新動力
- Learn Microsoft Azure