#721 · Primary category: Education & Research

ISLR-python

islr islr-python machine-learning predictive-modeling statistical-learning

An Introduction to Statistical Learning (James, Witten, Hastie, Tibshirani, 2013): Python code

Project last updated:10/27/22

GitHub Stars

4.4K

Forks

2.4K

Contributors

2

License

MIT

Why we included this project

These notebooks walk through the first edition of An Introduction to Statistical Learning, translating the book's R-based examples into Python with pandas, NumPy, scikit-learn, statsmodels, and matplotlib. Each chapter gets its own Jupyter notebook covering the topics in order, from linear regression through classification, resampling, regularization, tree methods, support vector machines, and unsupervised learning. Since they are runnable notebooks, you can execute cells step by step and follow the book at your own speed. The code assumes you have the book open beside you rather than standing alone as a tutorial, but that is exactly where it earns its keep: it shows how the authors' R workflows map onto the Python ecosystem, and it doubles as a reference when you want to reproduce a specific figure or analysis. For learners and working practitioners alike, it is a practical demonstration of how exploratory modeling is actually structured.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category