- 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
推薦閱讀
- ABB工業(yè)機(jī)器人編程全集
- 西門(mén)子S7-200 SMART PLC從入門(mén)到精通
- 電腦上網(wǎng)直通車(chē)
- Data Wrangling with Python
- Docker Quick Start Guide
- AWS Certified SysOps Administrator:Associate Guide
- 基于單片機(jī)的嵌入式工程開(kāi)發(fā)詳解
- 運(yùn)動(dòng)控制系統(tǒng)
- Azure PowerShell Quick Start Guide
- INSTANT VMware vCloud Starter
- Java組件設(shè)計(jì)
- 單片機(jī)C51應(yīng)用技術(shù)
- 開(kāi)放自動(dòng)化系統(tǒng)應(yīng)用與實(shí)戰(zhàn):基于標(biāo)準(zhǔn)建模語(yǔ)言IEC 61499
- Internet of Things with Raspberry Pi 3
- Qt中的C++技術(shù)