alexeygrigorev/mlbookcamp-code

The code from the Machine Learning Bookcamp book

What it solves

For learners who want hands-on code while reading a machine learning book, this repo provides working examples that walk through real projects like car-price prediction, customer churn prediction, and image classification. It also shows how to take models to production using tools like Flask, Docker, AWS Lambda, and Kubernetes.

How it works

The repository is organised by book chapters. Each chapter folder contains Jupyter notebooks and scripts that implement the techniques described in that chapter. For instance, chapter 2 builds a linear regression model from scratch, chapter 3 uses logistic regression for churn prediction, and chapter 7 uses convolutional neural networks with TensorFlow/Keras. Later chapters focus on deployment: saving models with Pickle, serving them with Flask, packaging with Docker, and deploying to AWS Elastic Beanstalk, Lambda, and Kubernetes. The appendices cover setting up the environment, Python basics, NumPy, and Pandas.

Who it’s for

This code is for anyone reading the Machine Learning Bookcamp, especially self‑learners who want to follow along with working examples. It assumes you are learning the basics of ML and Python but not yet an expert. The README also points to a free online course (Machine Learning Zoomcamp) based on the book, plus a community chat for questions.

Highlights

  • Projects cover the whole ML workflow: data exploration, feature engineering, model training, validation, and deployment.
  • Includes practical deployment paths: Flask, Docker, AWS Elastic Beanstalk, AWS Lambda, and Kubernetes (including Kubeflow).
  • Appendices give quick-start guides for environment setup, Python, NumPy, and Pandas.
  • The book's companion site (mlbookcamp.com) offers supplementary articles and more.

Related

  • Project
  • Project
  • Project
  • Project