skills/skills.volces.com/mlops-prototyping-cn

mlops-prototyping-cn

SKILL.md

MLOps Prototyping πŸ”¬

Create standardized, reproducible Jupyter notebooks.

Features

1. Notebook Structure Check βœ…

Validate notebook follows best practices:

./scripts/check-notebook.sh notebook.ipynb

Checks for:

  • H1 title
  • Imports section
  • Config/Constants
  • Data loading
  • Pipeline usage

2. Template πŸ“

Use this structure:

  1. Title & Purpose
  2. Imports (standard β†’ third-party β†’ local)
  3. Configs (all constants at top)
  4. Datasets (load, validate, split)
  5. Analysis (EDA)
  6. Modeling (use sklearn.pipeline.Pipeline)
  7. Evaluations (metrics on test data)

Quick Start

# Check your notebook
./scripts/check-notebook.sh my-notebook.ipynb

# Follow structure in notebook
# Use Pipeline for all transforms
# Set RANDOM_STATE everywhere

Key Rules

βœ… DO:

  • Put all params in Config section
  • Use sklearn.pipeline.Pipeline
  • Split data BEFORE any transforms
  • Set random_state everywhere

❌ DON'T:

  • Magic numbers in code
  • Manual transforms (use Pipeline)
  • Fit on full dataset (data leakage)

Author

Converted from MLOps Coding Course

Changelog

v1.0.0 (2026-02-18)

  • Initial OpenClaw conversion
  • Added notebook checker
Weekly Installs
2
First Seen
1 day ago
Installed on
junie1
amp1
cline1
openclaw1
trae1
opencode1