Contents

Chapter 1

Getting Started

Prerequisites

  • Python 3.10+
  • pip

Installation

bash
pip install -r requirements.txt

Your First Pipeline Run

Run the included classification pipeline:

bash
python -m src.pipeline_runner --config pipelines/classification_pipeline.yaml --verbose

This will:

1. Generate a demo dataset (2000 rows with age, income, region, etc.)

2. Apply feature engineering (scaling, encoding, imputation)

3. Train a Random Forest classifier

4. Evaluate with accuracy, F1, and AUC threshold gates

5. Attempt a canary deployment (dry-run — no actual infrastructure)

6. Save all artifacts to ./artifacts//

Inspect the Output

After the run completes, check:

  • ./artifacts//run_summary.json — full run metadata
  • ./artifacts//snapshot.json — reproducibility snapshot

Customize for Your Data

1. Copy pipelines/classification_pipeline.yaml to pipelines/my_pipeline.yaml

2. Update the feature_engineering stage to match your columns

3. Adjust the training hyperparameters

4. Set meaningful threshold_gates in the evaluation stage

5. Configure your deployment endpoint in the deployment stage

Adding Custom Stages

Create a function with this signature and register it:

python
from src.pipeline_runner import register_stage

def my_custom_stage(params: dict, context: dict) -> dict:
    # Do your work here
    result = {"my_output": "some_value"}
    return result

register_stage("my_custom_stage", my_custom_stage)

Then reference it in your pipeline YAML:

yaml
stages:
  - name: my_custom_stage
    depends_on: [feature_engineering]
    params:
      my_param: my_value
Chapter 2
🔒 Available in full product

Pipeline Patterns

Chapter 3
🔒 Available in full product

Getting Started

Chapter 4
🔒 Available in full product

Pipeline Patterns

You’ve reached the end of the free preview

Get the full MLOps Pipeline Templates and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $49 →
📦 Free sample included — download another copy or visit the store for the full product.
MLOps Pipeline Templates v1.0.0 — Free Preview