ApX logoApX logo
ModelsCalculatorHardwareCoursesPricing
ApX logoApX logo
ModelsCalculatorHardwareCoursesPricing

All Courses

Data Versioning and Experiment Tracking for Machine Learning
Chapter 1: The Need for Reproducibility in Machine Learning
Challenges in Managing ML Projects
Why Git Alone Is Not Sufficient
Defining Reproducibility in ML
Components of a Reproducible ML Workflow
Introduction to Data Versioning Concepts
Introduction to Experiment Tracking Concepts
Quiz for Chapter 1
Chapter 2: Versioning Data with DVC
Data Versioning Strategies
Introducing Data Version Control (DVC)
Setting Up DVC in a Project
Tracking Data Files and Directories
Storing and Retrieving Data Versions
Connecting DVC to Remote Storage (S3, GCS, Azure Blob)
Switching Between Data Versions
Hands-on Practical: Versioning a Dataset
Quiz for Chapter 2
Chapter 3: Tracking Experiments with MLflow
The Importance of Experiment Tracking
Introducing MLflow Tracking
Setting up MLflow
Logging Parameters and Metrics
Logging Artifacts (Models, Plots, Files)
Organizing Runs with Experiments
Using the MLflow UI
Comparing Experiment Runs
Practice: Tracking a Training Run
Chapter 4: Integrating DVC and MLflow for Reproducible Workflows
Connecting Data Versions to Experiments
Structuring Projects for Integration
Logging DVC Metadata in MLflow
Creating DVC Pipelines
Reproducing DVC Pipelines
Tracking DVC Pipeline Metrics
Combining DVC Pipelines and MLflow Tracking
Best Practices for Integrated Workflows
Hands-on Practical: Building an Integrated Pipeline

Chapter 2: Versioning Data with DVC

Chapter 1 highlighted the difficulties in managing machine learning projects, particularly when dealing with large datasets that do not fit well within standard Git workflows. This chapter introduces Data Version Control (DVC), an open source tool specifically designed to handle data versioning alongside your code, helping to address these challenges.

We will start by examining different approaches to versioning data before concentrating on DVC's mechanics and how it integrates with Git. You will learn how to:

  • Initialize DVC within an existing Git repository.
  • Use dvc add to start tracking data files and directories.
  • Configure remote storage (like AWS S3, Google Cloud Storage, or Azure Blob Storage).
  • Use dvc push and dvc pull to synchronize your data between your local machine and remote storage.
  • Switch between different versions of your data that correspond to specific Git commits.

The chapter includes practical steps and concludes with a hands on exercise where you will apply these commands to version a sample dataset. By the end of this chapter, you will be equipped to implement effective data versioning in your machine learning projects using DVC.

Sections

  • 2.1 Data Versioning Strategies

  • 2.2 Introducing Data Version Control (DVC)

  • 2.3 Setting Up DVC in a Project

  • 2.4 Tracking Data Files and Directories

  • 2.5 Storing and Retrieving Data Versions

  • 2.6 Connecting DVC to Remote Storage (S3, GCS, Azure Blob)

  • 2.7 Switching Between Data Versions

  • 2.8 Hands-on Practical: Versioning a Dataset

© 2026 ApX Machine Learning