0.55.3
Ask or search…
K
Links

A starter project

Put your new knowledge into action with a simple starter project
By now, you have understood some of the basic pillars of a MLOps system:
We will now put this into action with a simple starter project.

Get started

Start with a fresh virtual environment with no dependencies. Then let's install our dependencies:
pip install "zenml[templates,server]" notebook
zenml integration install sklearn -y
We will then use ZenML templates to help us get the code we need for the project:
mkdir zenml_starter
cd zenml_starter
zenml init --template starter --template-with-defaults
# Just in case, we install the requirements again
pip install -r requirements.txt
Above doesn't work? Here is an alternative
The starter template is the same as the ZenML quickstart. You can clone it like so:
git clone [email protected]:zenml-io/zenml.git
cd examples/quickstart
pip install -r requirements.txt
zenml init

What you'll learn

You can either follow along in the accompanying Jupyter notebook, or just keep reading the README file for more instructions.
Either way, at the end you would run three pipelines that are exemplary:
  • A feature engineering pipeline that loads data and prepares it for training.
  • A training pipeline that loads the preprocessed dataset and trains a model.
  • A batch inference pipeline that runs predictions on the trained model with new data.
And voilà! You're now well on your way to be an MLOps expert. As a next step, try introducing the ZenML starter template to your colleagues and see the benefits of a standard MLOps framework in action!

Conclusion and next steps

This marks the end of the first chapter of your MLOps journey with ZenML. Make sure you do your own experimentation with ZenML to master the basics. When ready, move on to the production guide, which is the next part of the series.
ZenML Scarf