Track your ML experiments end to end with Data Version Control and Amazon SageMaker Experiments

less than 1 minute read

Data scientists often work towards understanding the effects of various data preprocessing and feature engineering strategies in combination with different model architectures and hyperparameters. Doing so requires you to cover large parameter spaces iteratively, and it can be overwhelming to keep track of previously run configurations and results while keeping experiments reproducible.

Full text here, and GitHub repository here

Architecture: a SageMaker Studio notebook configures Git and DVC in AWS CodeCommit, launches a SageMaker Processing job that stores the versioned dataset in Amazon S3 and syncs its metadata with Git, then launches a SageMaker Training job that pulls the data from S3 and records the Git commit in SageMaker Experiments

This post walks through how to use Data Version Control (DVC) alongside Amazon SageMaker Experiments to track data and code changes together with ML experiment metrics, providing end-to-end traceability for your ML workflows.

2026 update. SageMaker Experiments has since been superseded by managed MLflow on Amazon SageMaker AI as the experiment-tracking layer. The core idea — versioning data and code together with experiment metrics — still applies unchanged; for the current take on it, see the successor post: End-to-end lineage with DVC and SageMaker AI MLflow apps.