lihang-code README

The project's README from github.com/fengdu78/lihang-code. As one markdown file: README.md.

《统计学习方法》第二版的代码实现

李航老师编写的《统计学习方法》全面系统地介绍了统计学习的主要方法,特别是监督学习方法,包括感知机、k近邻法、朴素贝叶斯法、决策树、逻辑斯谛回归与支持向量机、提升方法、em算法、隐马尔可夫模型和条件随机场等。除第1章概论和最后一章总结外,每章介绍一种方法。叙述从具体问题或实例入手,由浅入深,阐明思路,给出必要的数学推导,便于读者掌握统计学习方法的实质,学会运用。

《统计学习方法》可以说是机器学习的入门宝典,许多机器学习培训班、互联网企业的面试、笔试题目,很多都参考这本书。

今天我们将李航老师的《统计学习方法》第二版的代码进行了整理,并提供下载。

非常感谢各位朋友贡献的自己的笔记、代码!

2020年6月7日

代码目录

第1章 统计学习方法概论

第2章 感知机

第3章 k近邻法

第4章 朴素贝叶斯

第5章 决策树

第6章 逻辑斯谛回归

第7章 支持向量机

第8章 提升方法

第9章 EM算法及其推广

第10章 隐马尔可夫模型

第11章 条件随机场

第12章 监督学习方法总结

第13章 无监督学习概论

第14章 聚类方法

第15章 奇异值分解

第16章 主成分分析

第17章 潜在语义分析

第18章 概率潜在语义分析

第19章 马尔可夫链蒙特卡洛法

第20章 潜在狄利克雷分配

第21章 PageRank算法

第22章 无监督学习方法总结

参考

https://github.com/wzyonggege/statistical-learning-method

https://github.com/WenDesi/lihang_book_algorithm

https://blog.csdn.net/tudaodiaozhale

https://github.com/hktxt/Learn-Statistical-Learning-Method

代码整理和修改:机器学习初学者(公众号) gongzhong

知识星球:黄博的机器学习圈子xingqiu

知乎

lihang-code (fengdu78/lihang-code)

Searching Database…

What is this?A collection of Jupyter Notebook code implementations for every algorithm covered in Li Hang's book 'Statistical Learning Methods' (《统计学习方法》, 2nd edition), organized chapter by chapter.
Is this a library I install, or just code examples to read alongside the book?It's companion code for the book, not a packaged library: notebooks are organized one folder per chapter so you read and run them next to the text.
How do I use this?Clone the repo and open the notebook for the chapter you're studying in Jupyter; each chapter (perceptron, k-NN, decision tree, SVM, etc.) has its own folder.
Is this actively kept up to date?The last noted update was in June 2020; the code was compiled once from community-contributed notes rather than continuously maintained since.
What topics does the code cover chapter by chapter?Chapters 2-12 cover supervised methods (perceptron, k-NN, naive Bayes, decision trees, logistic regression, SVM, boosting, EM, HMM, CRF), and chapters 13-22 cover unsupervised methods (clustering, SVD, PCA, LSA, PLSA, MCMC, LDA, PageRank).
Who put together and curates the code?It was compiled by the WeChat account '机器学习初学者' (Machine Learning Beginners) from notes and code contributed by community members, with a related study group ('黄博的机器学习圈子') mentioned for further discussion.
Why do people use this repo for interview prep?The README notes that many ML training courses and internet-company interview and written-exam questions are based on this book, so working through the matching code is a common way to prepare.
Do I still need to read Li Hang's actual book to understand the code?Yes - this repo only provides the code; the math derivations, explanations, and theory live in the book itself and aren't duplicated here.
Creator
fengdu78
Size
15.4 MB
Stars
19.6K
Updated
CommitOct 05
Age
7y
Commits · 90 Days