GitOps for ML: Converting Notebooks to Reproducible Pipelines

workshop

Rob De Wit

About the event

Jupyter Notebooks are an invaluable tool for prototyping in machine learning projects. At a certain point, however, running experiments in them becomes messy. As a result, we tend to lose track of which data, code, and parameters resulted in a given model version.

At that point, you will want to move towards a truly reproducible pipeline. This will help you run experiments in a structured manner and find the best-performing models. At Iterative we build open-source tools that help you do just that.

In this hands-on workshop, we’ll take a prototype in a Jupyter Notebook and transform it into a DVC pipeline. We’ll then use that pipeline locally to run and compare a few experiments. Lastly, we’ll explore how CML will allow us to take our model training online. We’ll use it in conjunction with GitHub Actions to trigger our model training every time we push changes to our repository.

We’ll cover the following steps:

  • Brief introduction to DVC: data versioning and reproducibility
  • Parameterize a Jupyter Notebook and transform it into a DVC pipeline
  • Run, track, and compare experiments with DVC
  • Take our model training online with CML

By the end of this workshop, you’ll be able to convert a notebook into a fully reproducible pipeline and run it in externally with a GitHub runner. With these skills you’ll know how to take a Gitops approach to ML projects.

Prerequisites:

This event is sponsored by Iterative.ai

About the speakers

Rob De Wit Developer advocate at Iterative AI

Rob De Wit is a developer advocate at Iterative AI, working at the heart of the open source MLOps ecosystem. He has a background in information sciences and practical experience in data analytics and data engineering, which gives him a grounded, practitioner-oriented perspective on the tools and workflows he shares with the community.

Before joining Iterative, Rob worked in FinTech, an environment where data pipelines and models face strict demands on reliability and correctness. Right now he is learning a whole lot about MLOps in public, exploring how machine learning systems are versioned, tested, and operated in practice. Having experienced first-hand the gap between data scientists and engineers, he is particularly interested in bridging that divide, helping both sides speak a common language about reproducibility, collaboration, and production-ready machine learning.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club