01Chapter 1: Why structure matters: reproducible resultsThis chapter assumes basic Python, modules, and functions; comfort with the command line; basic Git usage; and experience training at least one model with scikit-learn or PyTorch.2 min read
02Chapter 2: A repository layout that scalesAssume you know basic Python modules and functions, can use the command line, and have used Git. You should also have trained at least one model with a library such as scikit-learn or PyTorch. This chapter focuses on where project files belong, not on a particular machine learning framework.2 min read
03Chapter 3: Moving reusable code into a packageAssume you know basic Python modules, functions, imports, and the command line. You should also understand how to run a model from a notebook or script. This chapter focuses on moving stable logic from a notebook into an importable Python package.2 min read
04Chapter 4: Where notebooks fitAssume you know basic Python modules, functions, the command line, Git, and how to train a model with a library such as scikit-learn or PyTorch. This chapter focuses on how notebooks work with the rest of a machine learning repository.2 min read
05Chapter 5: Keeping configuration out of codeThis chapter assumes basic Python modules and functions, command-line use, and a little YAML. You should also understand model hyperparameters such as learning rate and batch size.2 min read
06Chapter 6: Writing and loading a config fileAssume you know basic Python modules, functions, and command-line arguments. You also know how to train a model with a library such as scikit-learn or PyTorch. This chapter focuses on making training settings explicit, typed, and easy to change.1 min read
07Chapter 7: Overriding values from the command lineAssume you know basic Python, modules, functions, the command line, Git, and how to train a model. This chapter assumes a YAML configuration file already holds the model's normal settings.1 min read
08Chapter 8: Organizing raw, interim, and processed dataAssume you know basic Python, command-line work, Git, and model training. This chapter focuses on a data layout that makes a machine learning project easier to reproduce and debug.2 min read
09Chapter 9: Versioning data without committing it to GitThis chapter assumes you know basic Git, command-line navigation, and how a training script reads files. The goal is to keep large datasets outside Git while preserving the exact data version used by each model.2 min read
10Chapter 10: Pipelines: tying code, parameters, and data togetherAssume you know basic Python, the command line, Git, and how to train a model. A machine learning pipeline is a sequence of named steps that transforms inputs into outputs. Each step declares what it reads, what it runs, and what it creates.2 min read
11Chapter 11: Pinning the environmentThis chapter assumes basic Python, command-line, and Git skills. You should also know how to install a machine learning library and run a training script.2 min read
12Chapter 12: Controlling randomnessThis chapter assumes basic Python, NumPy, and command-line usage. You should also understand that a machine learning training run combines data, code, configuration, and an execution environment.2 min read
13Chapter 13: Tracking experimentsThis chapter assumes basic Python, command-line, Git, and model-training knowledge. You should also know how to load a configuration file and calculate validation metrics. The goal is to record enough information to explain why one training run differs from another.2 min read
14Chapter 14: Testing the parts that can break quietlyAssume you know basic Python, Git, the command line, and have trained a model with scikit-learn or PyTorch. This chapter focuses on tests for machine learning projects. These tests catch incorrect inputs, configuration mistakes, data leakage, and changes that produce plausible but wrong results.2 min read
15Chapter 15: Storing and naming models and outputsAssume you know basic Python, Git, and how a training script produces a fitted model. This chapter focuses on artifacts: files created by a machine learning workflow that you may need to inspect, compare, deploy, or reproduce later.2 min read
16Chapter 16: Running checks automaticallyAssume you know basic Python, Git, the command line, and how to run a test locally. This chapter shows how continuous integration, or CI, runs the same checks whenever code changes.2 min read