
This series follows a practical journey: taking a small machine-learning project and making it repeatable, trackable, and easier to operate.
The goal is not simply to train a model. A useful ML system needs more than an algorithm. We need organized code, controlled dependencies, versioned data, repeatable pipelines, experiment tracking, and a way to compare and promote models.
The series
- A clean Python project --- project structure,
pyproject.toml, and virtual environments. - Developer tooling --- Makefiles, Ruff, Black, and pre-commit.
- NumPy and pandas --- arrays, DataFrames, and preparing model inputs.
- DVC fundamentals --- tracking datasets and large files alongside Git.
- DVC pipelines and parameters --- stages, dependencies, outputs, and
params.yaml. - DVC experiments and remotes --- comparing experiments and storing data remotely.
- MLflow fundamentals --- experiments, runs, parameters, metrics, and artifacts.
- MLflow models and autologging --- logging models and capturing training information.
- MLflow Projects and Model Registry --- repeatable execution and model lifecycle.
- Reproducible training --- random seeds and deterministic results.
- Cross-validation and nested runs --- evaluating consistently and tracking folds.
- Optuna hyperparameter tuning --- searching for better configurations and recording trials.
The mental model
Each tool solves a different problem:
- Git versions source code.
- Python project tooling makes the development environment manageable.
- DVC versions data and pipelines.
- MLflow records experiments, metrics, artifacts, and models.
- Optuna searches for promising hyperparameters.
These tools complement one another. They are not interchangeable.
The examples use a small fraud-detection project, but the ideas apply to many machine-learning workflows.
Next: create a Python project that other developers --- and your future self --- can run reliably.
Comments
Join the discussionNo comments yet. Be the first to comment.




