Python Machine Learning, 2nd Edition (Chinese Translation) cover

Python Machine Learning, 2nd Edition (Chinese Translation)

No rating yet
Word count
533 words
Chapters
16
Series
Data Science and Engineering Technology Series
ISBN
9787111611509

Tags

Summary

This book is the Chinese translation of Python Machine Learning (2nd Edition), translated by Chen Bin and published in the China Machine Press "Data Science and Engineering Technology Series." It comprises 16 chapters built around two threads—principles and code: it covers the necessary details of machine learning concepts while explaining why each algorithm is designed as it is, how to use it, and where things commonly go wrong. It opens with the basic concepts of machine learning and predictive analytics, explains why Python has become the mainstream language of data science, and covers setting up a development environment and preparing data. It then demonstrates implementing classification algorithms from scratch using examples such as the perceptron and the adaptive linear neuron, before moving on to calling various classifiers with scikit-learn. The middle section focuses on data preprocessing, feature selection and dimensionality reduction (including principal component analysis and linear discriminant analysis), model evaluation and hyperparameter tuning, and ensemble learning, helping readers build a complete workflow for judging whether a model is reliable. The latter half turns to applications and deep learning: sentiment analysis is used to demonstrate text feature extraction and classification and to embed a trained model in a web application; regression analysis predicts continuous target variables; clustering methods handle unlabeled data; and the book closes by implementing a multilayer neural network from scratch and then building and training networks with TensorFlow, covering convolutional neural networks for images and recurrent neural networks for sequence data. The 2nd edition is substantially rewritten and expanded from the 1st, introducing tools such as Keras and TensorFlow and taking deep learning from principles through to engineering practice. The companion code is open-sourced on GitHub (rasbt/python-machine-learning-book-2nd-edition), so readers can run it as they read.

Editor's review

这本书在同类书中难得地做到了“两头都硬”:既不像纯理论教材那样只给公式,也不像很多实战书那样只贴代码。作者在讲每一个算法时,都先把背后的数学直觉讲清楚,再给出可以直接跑通的Python实现,最后还会提醒你实践中常见的坑,比如数据泄漏、特征缩放顺序、交叉验证与网格搜索配合使用时的细节。 第2版相比第1版的升级相当实在:scikit-learn部分按当时的新版本做了修订,深度学习部分从“从零手写神经网络”自然延伸到用TensorFlow搭建网络,并专门覆盖了卷积神经网络和循环神经网络。全书16章的结构具有明显递进关系,前半本打基础,后半本进入深度学习,读者不必一次读完,也可以按需跳读。 译者陈斌是资深技术人,译文术语处理比较稳定,图表与代码保留完整。原书全部代码在GitHub开源,可以配合Jupyter Notebook逐章运行,边读边改,学习效果远好于只读不练。对于想系统打牢机器学习基本功、又不希望被某个框架绑死的读者,这本第2版依然值得放在案头。

Who it's for

A good fit for

  • 掌握Python基础语法、想系统入门机器学习的学习者
  • 计算机、统计、数据科学相关专业的本科生与研究生
  • 需要使用scikit-learn完成分类、聚类、评估等任务的工程师
  • 希望在读理论的同时能跑通代码、理解算法原理的转行者

Not a good fit for

  • 完全没有Python基础、也没接触过线性代数与概率的读者
  • 只想直接调包做工程、不关心算法原理的开发者
  • 希望学习Transformer、大模型等近年新内容的读者,需选更新的版本

Reading tips

  1. 先跑通第1—3章环境与分类示例,建立“数据—模型—评估”的完整直觉,再往后读。
  2. 第5、6章涉及降维与模型评估,建议配合自己的数据集重做一遍,比看懂更重要。
  3. 第12—16章的深度学习部分可按需选读,若时间有限可先读第12、13、15章。
  4. 下载原书GitHub开源代码,用Jupyter Notebook逐章对照运行,留意版本差异带来的报错。

About the publisher

China Machine Press China · Founded in 1950

In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.

Contents

  1. Chapter 1 Giving Computers the Ability to Learn from Data
  2. Chapter 2 Training Machine Learning Classification Algorithms
  3. Chapter 3 A Tour of Machine Learning Classifiers Using scikit-learn
  4. Chapter 4 Building Good Training Sets: Data Preprocessing
  5. Chapter 5 Compressing Data via Dimensionality Reduction
  6. Chapter 6 Best Practices for Model Evaluation and Hyperparameter Optimization
  7. Chapter 7 Combining Different Models for Ensemble Learning
  8. Chapter 8 Applying Machine Learning to Sentiment Analysis
  9. Chapter 9 Embedding a Machine Learning Model into a Web Application
  10. Chapter 10 Predicting Continuous Target Variables with Regression Analysis
  11. Chapter 11 Working with Unlabeled Data: Cluster Analysis
  12. Chapter 12 Implementing a Multilayer Artificial Neural Network from Scratch
  13. Chapter 13 Parallelizing Neural Network Training with TensorFlow
  14. Chapter 14 Going Deeper: The Mechanics of TensorFlow
  15. Chapter 15 Classifying Images with Deep Convolutional Neural Networks
  16. Chapter 16 Modeling Sequential Data Using Recurrent Neural Networks

FAQ

这本书是第2版还是第3版?
本条目对应的是原书第2版,ISBN为9787111611509,2018年由机械工业出版社出版,译者为陈斌。第3版于2021年后出版,ISBN为9787111681373,内容改为基于TensorFlow 2,两者不是同一本书。
零基础可以直接读这本书吗?
需要一定Python基础。书中会讲清算法原理,但默认读者能读懂Python代码、了解基本的向量与矩阵运算。若完全零基础,建议先补Python与线性代数基础,再回到本书。
书中的代码在哪里获取?
作者将第2版全部章节代码开源在GitHub仓库rasbt/python-machine-learning-book-2nd-edition,以Jupyter Notebook形式组织。注意这些代码基于当年的库版本,运行时可能需要调整部分API。
这本书和《Python机器学习基础教程》有什么区别?
后者偏向用scikit-learn快速上手、覆盖面广而浅;本书则在算法原理与实现细节上更深入,并从机器学习延伸到TensorFlow深度学习,篇幅与难度都更高。
第2版包含哪些深度学习内容?
第12至16章覆盖从零实现多层神经网络、用TensorFlow训练网络、TensorFlow机制详解、卷积神经网络图像分类、循环神经网络序列建模,是第2版相对第1版扩充最多的部分。

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.

Top rated in the same category