新手 Python-机器学习 四部曲资源汇总

[翻译]新手 Python-机器学习 四部曲资源汇总

原文:http://www.jianshu.com/p/9bb0bd8597a0

翻译:Four steps to master machine learning with python (including free books & resources),来自LernPython. 这篇文章很烂,不过里面的资源汇总的不错,这里相当于限Mark下,后面准备翻译那些不错的书和Paper,也欢迎更多的人加入.

想要理解和研究机器学习,首先你应该要掌握 Python 或者 R ,都是和 C, Java, PHP 差不多的语言(译:差太多了好吧).不过呢, Python 和 R 都是比较年轻(译:不懂, Python 可并不年轻吧),而且呢更高级,完全不用理解底层(译:?),所以他俩都很容易学. Python 更牛逼的地方在于她能够处理更多的问题,比如,机器学习,算法,图像等,而不像 R 只能是进行数据处理和分析. Python 有着更广泛的应用领域,比如 后端框架 Django (译:原文是,'Hosting websites: Jango'),自然语言处理(译: 原文是, 'natural language proecssing',作者太不认真,NLP),网站接入等,而且 Python 更像 C 语言(译:扯淡),所以她现在很流行.

毛子的原文里面有不少错误,我以自己的理解加以修正,仅供参考.语法文法错误我就直接修改,原文作者的表达内容错误会依据原文不变,在()内说明.

新手用 Python 进行机器学习的四个步骤

  • Python 基础知识学习,有书,Mooc,视频.
  • 处理数据,你得了解一些模块,如: PandasNumpyMatplotlib 和 Natural Language Processing.
  • 接着你就得爬取数据,可以通过API,也可以直接到网站上去爬取.网站爬虫模块: BeautifulSoup(译:应该是 Scrapy, BS 是 HTML/XML 解析器).我们用拿到的数据来训练算法.
  • 最后一步,就是要学习 ML 的相关算法,以及工具 Scikit-learn.

1. 学习 Python

学习 Python 最简单粗暴的法子就是到 Codecademy 上去注册个账号来学习基础知识.一个被好多码农推荐的很经典的网站 LearnPythonTheHardWayByte of Python 这篇文章是非常值得去学习的. Python社区还为新手给出了一个 Python 学习资源列表. O’Reilley 出版的一本书 Think Python这里可以免费下载. 最后还有一个Introduction to Python for Econometrics, Statistics and Data Analysis 也讲了好多 Python 的基础知识.

2. 导入模块

做机器学习很重要的几个模块和工具是 NumPy, Pandas, Matplotlib 和 IPython.Data Analysis with Open Source Tools 这本书里面都有涉及这些内容. 上面提到的Introduction to Python for Econometrics, Statistics and Data Analysis 也涵盖了这些东西.还有一本书 Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython.下面还有一些免费的资源:

3. 爬取挖掘数据

一旦你掌握了 Python 的基础,下面就要学会怎么去爬取数据. 也就是网页爬虫. 像 Twitter 和 LinkedIn 这些网站都给出了 API s接口,让我们去获得文本数据.关于这方面下面有几本书不错的书: Mining the Social Web(免费), Web Scraping with Python 和Web Scraping with Python: Collecting Data from the Modern Web.

最后这些文本数据要由 NLP 技术处理成数值化数据:Natural language processing with Python . 图像和视频要用图像处理 CV,下面有几个不错的资源: Programming Computer Vision with Python(免费), Programming Computer Vision with Python: Tools and algorithms for analyzing images 和 Practical Python and OpenCV .

Python 爬虫的一些例子:

4. 机器学习

机器学习可以分为四部分: 分类, 聚类, 回归和降维.


Machine learning in Python

Scikit-learn 官网上有很多指南,下面列一些其它的:

书:

机器学习相关的Blog和课程

在线课程: Collection of links . MOOC : machine learning 和 Data Analyst Nanodegree.
这里是一些Blog.

机器学习理论

还有一些 Watch 15 hours theory of machine learning!

越看越懒得翻,着实没什么营养,索性直接列出资源.下面是美国麻省理工学院(MIT)博士林达华老师(ML大牛)推荐的书单.

Machine Learning

Pattern Recognition and Machine Learning

By Christopher M. Bishop
A new treatment of classic machine learning topics, such as classification, regression, and time series analysis from a Bayesian perspective. It is a must read for people who intends to perform research on Bayesian learning and probabilistic inference.

Graphical Models, Exponential Families, and Variational Inference

By Martin J. Wainwright and Michael I. Jordan
It is a comprehensive and brilliant presentation of three closely related subjects: graphical models, exponential families, and variational inference. This is the best manuscript that I have ever read on this subject. Strongly recommended to everyone interested in graphical models. The connections between various inference algorithms and convex optimization is clearly explained. Note: pdf version of this book is freely available online.

Big Data: A Revolution That Will Transform How We Live, Work, and Think

Viktor Mayer-Schonberger, and Kenneth Cukier
A short but insightful manuscript that will motivate you to rethink how we should face the explosive growth of data in the new century.

Statistical Pattern Recognition (2nd/3rd Edition)

By Andrew R. Webb, and Keith D. Copsey
A well written book on pattern recognition for beginners. It covers basic topics in this field, including discriminant analysis, decision trees, feature selection, and clustering -- all are basic knowledge that researchers in machine learning or pattern recognition should understand.

Learning with Kernels: Support Vector Machines, Regularization, Optimization, and Beyond

By Bernhard Schlkopf and Alexander J. Smola
A comprehensive and in-depth treatment of kernel methods and support vector machine. It not only clearly develops the mathematical foundation, namely the reproducing kernel Hilbert space, but also gives a lot of practical guidance (e.g. how to choose or design kernels.)

Mathematics

Topology (2nd Edition)

By James Munkres
A classic on topology for beginners. It provides a clear introduction of important concepts in general topology, such as continuity, connectedness, compactness, and metric spaces, which are the fundamentals that you have to grasped before embarking on more advanced subjects such as real analysis.

Introductory Functional Analysis with Applications

ByErwin Kreyszig
It is a very well written book on functional analysis that I would like to recommend to every one who would like to study this subject for the first time. Starting from simple notions such as metrics and norms, the book gradually unfolds the beauty of functional analysis, exposing important topics including Banach spaces, Hilbert spaces, and spectral theory with a reasonable depth and breadth. Most important concepts needed in machine learning are covered by this book. The exercises are of great help to reinforce your understanding.

Real Analysis and Probability (Cambridge Studies in Advanced Mathematics)

By R. M. Dudley
This is a dense text that combines Real analysis and modern probability theory in 500+ pages. What I like about this book is its treatment that emphasizes the interplay between real analysis and probability theory. Also the exposition of measure theory based on semi-rings gives a deep insight of the algebraic structure of measures.

Convex Optimization

By Stephen Boyd, and Lieven Vandenberghe
A classic on convex optimization. Everyone that I knew who had read this book liked it. The presentation style is very comfortable and inspiring, and it assumes only minimal prerequisite on linear algebra and calculus. Strongly recommended for any beginners on optimization. Note: the pdf of this book is freely available on the Prof. Boyd's website.

Nonlinear Programming (2nd Edition)

By Dimitri P. Bersekas
A thorough treatment of nonlinear optimization. It covers gradient-based techniques, Lagrange multiplier theory, and convex programming. Part of this book overlaps with Boyd's. Overall, it goes deeper and takes more efforts to read.

Introduction to Smooth Manifolds

By John M. Lee
This is the book that I used to learn differential geometry and Lie group theory. It provides a detailed introduction to basics of modern differential geometry -- manifolds, tangent spaces, and vector bundles. The connections between manifold theory and Lie group theory is also clearly explained. It also covers De Rham Cohomology and Lie algebra, where audience is invited to discover the beauty by linking geometry with algebra.

Modern Graph Theory

By Bela Bollobas
It is a modern treatment of this classical theory, which emphasizes the connections with other mathematical subjects -- for example, random walks and electrical networks. I found some messages conveyed by this book is enlightening for my research on machine learning methods.

Probability Theory: A Comprehensive Course (Universitext)

By Achim Klenke
This is a complete coverage of modern probability theory -- not only including traditional topics, such as measure theory, independence, and convergence theorems, but also introducing topics that are typically in textbooks on stochastic processes, such as Martingales, Markov chains, and Brownian motion, Poisson processes, and Stochastic differential equations. It is recommended as the main textbook on probability theory.

A First Course in Stochastic Processes (2nd Edition)

By Samuel Karlin, and Howard M. Taylor
A classic textbook on stochastic process which I think are particularly suitable for beginners without much background on measure theory. It provides a complete coverage of many important stochastic processes in an intuitive way. Its development of Markov processes and renewal processes is enlightening.

Poisson Processes (Oxford Studies in Probability)

By J. F. C. Kingman
If you are interested in Bayesian nonparametrics, this is the book that you should definitely check out. This manuscript provides an unparalleled introduction to random point processes, including Poisson and Cox processes, and their deep theoretical connections with complete randomness.

Programming

Structure and Interpretation of Computer Programs (2nd Edition)

By Harold Abelson, Gerald Jay Sussman, and Julie Sussman
Timeless classic that must be read by all computer science majors. While some topics and the use of Scheme as the teaching language seems odd at first glance, the presentation of fundamental concepts such as abstraction, recursion, and modularity is so beautiful and insightful that you would never experienced elsewhere.

Thinking in C++: Introduction to Standard C++ (2nd Edition)

By Bruce Eckel
While it is kind of old (written in 2000), I still recommend this book to all beginners to learn C++. The thoughts underlying object-oriented programming is very clearly explained. It also provides a comprehensive coverage of C++ in a well-tuned pace.

Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)

By Scott Meyers
The Effective C++ series by Scott Meyers is a must for anyone who is serious about C++ programming. The items (rules) listed in this book conveys the author's deep understanding of both C++ itself and modern software engineering principles. This edition reflects latest updates in C++ development, including generic programming the use of TR1 library.

Advanced C++ Metaprogramming

ByDavide Di Gennaro
Like it or hate it, meta-programming has played an increasingly important role in modern C++ development. If you asked what is the key aspects that distinguishes C++ from all other languages, I would say it is the unparalleled generic programming capability based on C++ templates. This book summarizes the latest advancement of metaprogramming in the past decade. I believe it will take the place of Loki's "Modern C++ Design" to become the bible for C++ meta-programming.

Introduction to Algorithms (2nd/3rd Edition)

By Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein
If you know nothing about algorithms, you never understand computer science. This is book is definitely a classic on algorithms and data structures that everyone who is serious about computer science must read. This contents of this book ranges from elementary topics such as classic sorting algorithms and hash table to advanced topics such as maximum flow, linear programming, and computational geometry. It is a book for everyone. Everytime I read it, I learned something new.

Design Patterns: Elements of Reusable Object-Oriented Software

By Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides
Textbooks on C++, Java, or other languages typically use toy examples (animals, students, etc) to illustrate the concept of OOP. This way, however, does not reflect the full strength of object oriented programming. This book, which has been widely acknowledged as a classic in software engineering, shows you, via compelling examples distilled from real world projects, how specific OOP patterns can vastly improve your code's reusability and extensibility.

Structured Parallel Programming: Patterns for Efficient Computation

By Michael McCool, James Reinders, and Arch Robison
Recent trends of hardware advancement has switched from increasing CPU frequencies to increasing the number of cores. A significant implication of this change is that "free lunch has come to an end" -- you have to explicitly parallelize your codes in order to benefit from the latest progress on CPU/GPUs. This book summarizes common patterns used in parallel programming, such as mapping, reduction, and pipelining -- all are very useful in writing parallel codes.

Introduction to High Performance Computing for Scientists and Engineers

By Georg Hager and Gerhard Wellein
This book covers important topics that you should know in developing high performance computing programs. Particularly, it introduces SIMD, memory hierarchies, OpenMP, and MPI. With these knowledges in mind, you understand what are the factors that might influence the run-time performance of your codes.

CUDA Programming: A Developer's Guide to Parallel Computing with GPUs

By Shane Cook
This book provides an in-depth coverage of important aspects related to CUDA programming -- a programming technique that can unleash the unparalleled power of GPU computation. With CUDA and an affordable GPU card, you can run your data analysis program in the matter of minutes which may otherwise require multiple servers to run for hours.

  • 5
    点赞
  • 28
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值