Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.Start 7-day trial →
← CoursesData Science AppliedModule 6 · Deep Learning + MLOps🏆 Final capstone: ML production blueprintmission104 / 104
+250 XP
Task
📝 **Task:** Implement two functions: 1. `register_model(model_id, metric)` → returns the new version number (1, 2, 3, ...). Stores each registration in a module-level `REGISTRY` dict keyed by `model_id`. 2. `detect_drift(train_mean, train_std, live_values)` → returns `True` if the mean of `live_values` is more than 2σ away from `train_mean`. Then run the checks shown below. Expected output (5 lines): ``` 1 2 {'version': 2, 'metric': 0.87} False True ``` 📋 Implement the function above. Tests run automatically. 💡 **Hint:** Re-read the theory if you get stuck.
✏️ Write your code here
🐍
Loading Python...
One-time download (~1 MB). Then it runs instantly.
📊 Result
Press Run to see result...

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…