0Pricing
MLOps Academy · Lesson

Parameterize Runs with params.yaml

Sweep hyperparameters without editing code.

Stop Editing Code to Tune

Changing a learning rate by editing train.py is messy and hard to track. DVC reads settings from a file called params.yaml instead. 🎛️

What params.yaml Holds

The params.yaml file is plain YAML holding your hyperparameters, grouped by stage. It becomes the single place to change run settings.

train:
  learning_rate: 0.01
  epochs: 20
prep:
  test_size: 0.2

All lessons in this course

  1. Stages: Ingest, Prep, Train, Eval
  2. Define a Pipeline with DVC Stages
  3. Cache and Skip Unchanged Steps
  4. Parameterize Runs with params.yaml
← Back to MLOps Academy