Same Data, Same Model
An Independent Guide to Versioning Data, Models and Pipelines with DVC
-
- $0.99
-
- $0.99
Publisher Description
An independent, practical guide to making machine learning results traceable and rebuildable by versioning data, models and pipelines with DVC, the open-source Data Version Control tool that works alongside Git. One fictional regional bus agency runs throughout, with a ridership forecast and a maintenance-ticket classifier. You will learn how DVC splits work between Git, a content-addressed cache and remote storage; track datasets and models; configure remotes without putting secrets in Git; and turn scripts into pipelines whose lock file records every input hash and parameter value. Later chapters add parameters and templating, metrics and plots, experiments and queued parameter grids, logging and model artifacts with DVCLive, data registries and imports, a team workflow built on pull requests that review data and metric changes, continuous integration with a metric gate, security, privacy and licensing, shared caches, safe cleanup and upgrades. The final part builds a second project from scratch and rehearses an audit with a real rebuild of an earlier release. Every command and output was produced by running DVC 3.67.1 on synthetic data generated by the book's own code. Includes a hands-on lab, a cheat sheet with troubleshooting, review questions with answers and a glossary.