- 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.
- Oracle WebLogic Server 12c:First Look
- Visual FoxPro程序設計教程(第3版)
- Java 開發從入門到精通(第2版)
- Mastering Ember.js
- OpenCV 3和Qt5計算機視覺應用開發
- iOS開發實戰:從零基礎到App Store上架
- Practical DevOps
- Django Design Patterns and Best Practices
- UI設計全書(全彩)
- Python入門很輕松(微課超值版)
- 實戰Java高并發程序設計(第2版)
- 進入IT企業必讀的324個Java面試題
- PHP+MySQL Web應用開發教程
- Flask開發Web搜索引擎入門與實戰
- 多接入邊緣計算實戰