finds.dev← search

// the find

rasbt/python-machine-learning-book

★ 12,614 · Jupyter Notebook · MIT · updated Nov 2024

The "Python Machine Learning (1st edition)" book code repository and info resource

The code repository for Sebastian Raschka's 2015 book 'Python Machine Learning (1st edition)' — 13 chapters of Jupyter notebooks covering classical ML from perceptrons through neural networks, using scikit-learn, NumPy, and Theano. It's a teaching artifact meant to accompany the physical book, not a standalone tutorial. Developers who learned ML in that era likely already have this on their shelf.

The notebooks implement algorithms from scratch before introducing the scikit-learn equivalent, so you actually understand what fit() is doing under the hood. The FAQ directory is genuinely good — dozens of short markdown files answering precise questions like 'why is logistic regression considered linear' or 'what's the difference between cost and loss functions', written with real explanations rather than hand-waving. Chapter 6 on model evaluation and hyperparameter tuning covers k-fold cross-validation and grid search in a way that many newer tutorials skip entirely. The included equation reference PDF is a useful companion when the notebook math gets dense.

Chapter 13 uses Theano for GPU-accelerated neural network training, which has been dead since 2017 — that code does not run without significant work. The book predates PyTorch and modern Keras, so there's nothing here on the tools anyone actually uses for deep learning today. The datasets bundled in the repo (Iris, Wine, MNIST) are the same ones in every other ML tutorial from that decade, which limits how far you can push the examples. This is a 2015 snapshot — it covers nothing about transformers, attention mechanisms, gradient boosting as a serious production tool, or how to actually deploy an ML model beyond a basic Flask app.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →