- Learning Data Mining with Python(Second Edition)
- Robert Layton
- 284字
- 2021-07-02 23:40:05
Summary
In this chapter, we introduced data mining using Python. If you could run the code in this section (note that the full code is available in the supplied code package), then your computer is set up for much of the rest of the book. Other Python libraries will be introduced in later chapters to perform more specialized tasks.
We used the Jupyter Notebook to run our code, which allows us to immediately view the results of a small section of the code. Jupyter Notebook is a useful tool that will be used throughout the book.
We introduced a simple affinity analysis, finding products that are purchased together. This type of exploratory analysis gives an insight into a business process, an environment, or a scenario. The information from these types of analysis can assist in business processes, find the next big medical breakthrough, or create the next artificial intelligence.
Also, in this chapter, there was a simple classification example using the OneR algorithm. This simple algorithm simply finds the best feature and predicts the class that most frequently had this value in the training dataset.
To expand on the outcomes of this chapter, think about how you would implement a variant of OneR that can take multiple feature/value pairs into consideration. Take a shot at implementing your new algorithm and evaluating it. Remember to test your algorithm on a separate dataset to the training data. Otherwise, you run the risk of over fitting your data.
Over the next few chapters, we will expand on the concepts of classification and affinity analysis. We will also introduce classifiers in the scikit-learn package and use them to do our machine learning, rather than writing the algorithms ourselves.
- PostgreSQL技術(shù)內(nèi)幕:事務(wù)處理深度探索
- 精通軟件性能測(cè)試與LoadRunner實(shí)戰(zhàn)(第2版)
- Mastering Scientific Computing with R
- HTML5+CSS3+JavaScript Web開(kāi)發(fā)案例教程(在線(xiàn)實(shí)訓(xùn)版)
- 3D少兒游戲編程(原書(shū)第2版)
- Apache Mahout Clustering Designs
- iOS開(kāi)發(fā)實(shí)戰(zhàn):從入門(mén)到上架App Store(第2版) (移動(dòng)開(kāi)發(fā)叢書(shū))
- Python計(jì)算機(jī)視覺(jué)和自然語(yǔ)言處理
- Java7程序設(shè)計(jì)入門(mén)經(jīng)典
- Microsoft HoloLens By Example
- Monitoring Docker
- Building Microservices with Go
- HTML5+CSS3+jQuery Mobile+Bootstrap開(kāi)發(fā)APP從入門(mén)到精通(視頻教學(xué)版)
- Mastering Clojure
- Python算法交易實(shí)戰(zhàn)