- Learning Data Mining with Python
- Robert Layton
- 136字
- 2021-07-16 13:30:49
Summary
In this chapter, we used several of scikit-learn's
methods for building a standard workflow to run and evaluate data mining models. We introduced the Nearest Neighbors algorithm, which is already implemented in scikit-learn
as an estimator. Using this class is quite easy; first, we call the fit
function on our training data, and second, we use the predict
function to predict the class of testing samples.
We then looked at preprocessing by fixing poor feature scaling. This was done using a Transformer
object and the MinMaxScaler
class. These functions also have a fit
method and then a transform, which takes a dataset as an input and returns a transformed dataset as an output.
In the next chapter, we will use these concepts in a larger example, predicting the outcome of sports matches using real-world data.
- OpenStack Cloud Computing Cookbook(Third Edition)
- Progressive Web Apps with React
- 大學計算機應用基礎實踐教程
- Ceph Cookbook
- .NET 4.0面向對象編程漫談:基礎篇
- jQuery EasyUI網站開發實戰
- 跟老齊學Python:輕松入門
- 精通Scrapy網絡爬蟲
- MATLAB 2020從入門到精通
- C語言從入門到精通
- 匯編語言編程基礎:基于LoongArch
- Couchbase Essentials
- 精通MySQL 8(視頻教學版)
- Troubleshooting Citrix XenApp?
- 算法設計與分析:基于C++編程語言的描述