Python Data Mining: A Beginner's Guide with Practical Cases cover

Python Data Mining: A Beginner's Guide with Practical Cases

Rating 3.8
Chapters
13
Series
Turing Programming Series
ISBN
9787115427106

Tags

Summary

This is the Chinese translation of Learning Data Mining with Python, aimed at readers who want to complete data mining tasks in Python but lack a systematic introduction. The book has 12 chapters, each built around a concrete case: first using decision trees and random forests to predict the outcome of NBA games, introducing the basic workflow of classification and ensemble learning; then implementing movie recommendations with affinity analysis and the Apriori algorithm; next come feature extraction and transformers, naive Bayes applied to social media text, graph mining to find interesting people to follow, cracking CAPTCHAs with neural networks, identifying document authors with function words and character n-grams, clustering news articles, and finally deep learning for image classification and big-data processing with MapReduce. The author adopts a "run the example first, then explain the principle" approach, working with common libraries such as scikit-learn, NumPy, pandas, NetworkX and Keras to thread data cleaning, feature engineering, modeling, evaluation and tuning into a complete pipeline; each chapter ends with a summary and additional directions for practice, helping readers move from imitating code to solving real problems independently.

Editor's review

市面上讲数据挖掘的书,要么偏理论、公式先行,要么只给零散代码。这本书的好处在于把“案例”当作主线:一个章节解决一个具体问题,从预测球赛胜负到破解验证码,读起来有目标感,也更容易保持练习的动力。作者是 scikit-learn 的早期贡献者之一,对库的用法和工程实践比较熟悉,书中代码贴合真实工作流,不是玩具示例拼盘。对自学者来说,它正好能补上“学过 Python 语法,却不知道下一步做什么项目”的空档。需要注意的是,本书对应的是较早期的 Python 生态(以 Jupyter Notebook 与老版本 scikit-learn 为主),部分库接口与数据集链接可能已经变化,建议边读边对照官方文档改写代码,这本身也是很有价值的训练。想系统建立数据挖掘直觉、并积累第一批练手项目的读者,可以把这本书当作起步书。

Who it's for

A good fit for

  • 会写基础 Python,想通过项目入门数据挖掘的自学者
  • 在校学生,需要一本能跟着敲代码的数据挖掘教材
  • 想理解分类、聚类、推荐等经典算法使用场景的开发者
  • 准备转做数据分析、需要补齐建模实践经验的职场人

Not a good fit for

  • 希望深入推导算法数学原理的研究型读者
  • 完全零编程基础、未接触过 Python 与命令行的人

Reading tips

  1. 按章节顺序动手敲一遍代码,不要只读不跑,改动参数再看结果变化。
  2. 遇到库版本报错时,优先查阅对应官方文档,把改错过程本身当作练习。
  3. 每章读完补做书中提示的额外练习,选一个换成自己的数据集重做。
  4. 如果想读更新内容,可同时参考第2版,其中补充了 Keras 与 TensorFlow 相关案例。

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. Chapter 1 Getting Started with Data Mining
  2. Chapter 2 Classifying with the scikit-learn Estimator
  3. Chapter 3 Predicting Winning Teams with Decision Trees
  4. Chapter 4 Recommending Movies with Affinity Analysis
  5. Chapter 5 Extracting Features with Transformers
  6. Chapter 6 Social Media Mining with Naive Bayes
  7. Chapter 7 Finding Interesting People with Graph Mining
  8. Chapter 8 Cracking CAPTCHAs with Neural Networks
  9. Chapter 9 Authorship Attribution
  10. Chapter 10 Classifying a News Corpus
  11. Chapter 11 Classifying Objects in Images with Deep Learning
  12. Chapter 12 Big Data Processing
  13. Appendix Where to Go Next

FAQ

这本书需要什么前置基础?
需要会写基础 Python,了解变量、函数、列表与字典等语法即可;对 NumPy、pandas 不熟也没关系,书中会在案例中逐步带入。数学方面只需具备高中程度的概率与统计直觉,书中不强调公式推导。
书中的代码能直接跑通吗?
原书代码面向出版时的 Python 3 与当时版本的 scikit-learn 等库。由于第三方库持续更新,部分接口和在线数据集链接可能失效,建议按报错对照官方文档调整,这类调试过程对学习很有帮助。
和《Python数据分析》有什么区别?
《Python数据分析》侧重用 pandas、NumPy 做数据清洗与探索;本书的重心是建模,即分类、聚类、推荐、文本挖掘、深度学习等具体挖掘任务。两者是上下游关系,可以配合阅读。
第一版和第二版选哪个?
第一版由杜春晓翻译,2016 年出版;第二版由亦念翻译,2020 年出版,更新了库版本并补充深度神经网络案例。若环境较新,建议以第二版为主,第一版可作为案例体系相近的补充。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

More by the same author

Top rated in the same category