Месяц 6 — Сборник упражнений
🟢 Easy
MLflow
- SQLite + MLflow + 5 run.
- Использование
mlflow.sklearn.autolog(). - Model Registry: register → Staging → Production.
DVC
dvc init+ versioning одного CSV.- Local DVC remote.
- 2 версии данных, откат к старой.
FastAPI Serving
- Вывод sklearn модели в FastAPI.
- Health checks.
- Prometheus metrics.
Docker / K8s
- Multi-stage Dockerfile.
- Docker Compose: API + Postgres.
- minikube setup.
Monitoring
- Первый Evidently AI report.
- PSI calculation.
- Custom Prometheus gauge.
CI/CD
- GitHub Actions pytest pipeline.
- Code quality checks.
- Docker build action.
Airflow
- Local Airflow Docker.
- Первый DAG (hello world).
- Daily scheduled task.
🟡 Medium
Integrations
- MLflow + DVC: оба вместе в проекте.
- FastAPI + MLflow Registry: загрузка модели из production.
- Docker Compose: API + MLflow + Postgres + MinIO.
- K8s + HPA: auto-scaling через load test.
- Airflow + MLflow: scheduled retraining DAG.
Real workflows
- Full retraining pipeline: DVC repro + MLflow log + K8s update.
- Daily inference batch: Airflow DAG, 100K users.
- Monitoring dashboard: Grafana + Prometheus + Evidently.
- A/B test: Istio или nginx canary deployment.
- CML report: автоматическое metrics comparison в PR.
🔴 Hard (Production)
1. End-to-End MLOps Platform
Требования:
- Классическая ML модель (regression или classification)
- DVC for data versioning (S3 или MinIO)
- MLflow for experiment tracking + Registry
- DVC + MLflow integration
- FastAPI serving + ONNX optimization
- Docker + K8s deployment (manifest или Helm)
- Prometheus + Grafana monitoring
- Evidently AI drift detection
- GitHub Actions CI/CD
- Airflow scheduled retraining
- Slack notifications
Deliverables:
- GitHub repo (public)
- README + architecture diagram
- Demo video (Loom)
- LinkedIn post
2. Multi-model Platform
Требования:
- 3+ разных модели (classification, regression, NLP)
- Universal serving API (model-as-a-service)
- Per-model routing и versioning
- Centralized monitoring
- Cost tracking per model/user
- API rate limiting
3. Real-time Streaming ML
Требования:
- Kafka stream (или Redis Streams)
- Real-time feature engineering
- Low-latency inference (<50ms p95)
- Online learning (River library)
- Real-time monitoring dashboard
4. ML Platform as a Service (MLaaS)
Требования:
- User uploads CSV → auto-ML training
- BentoML packaging
- Auto-deployment в K8s
- Per-user namespaces
- Billing integration
- Admin dashboard
Мини-проекты
Мини-проект 1: Personal Health ML Platform
- Fitbit/Apple Health data
- Predict health metrics
- Daily inference + insights
- Telegram bot
Мини-проект 2: E-commerce Recommendation MLOps
- Online learning (recommendations)
- Feature store (Feast)
- A/B test framework
- Real-time deployment
Мини-проект 3: Fraud Detection System
- Streaming fraud detection
- Real-time monitoring
- Alert system
- Explainability dashboard
Мини-проект 4: Computer Vision SaaS
- Multi-tenant CV API
- Image moderation, OCR, classification
- Usage tracking + billing
- Streamlit demo
Quiz
MLOps Fundamentals
- Разница MLOps и DevOps?
- 8 этапов ML Lifecycle?
- MLOps Maturity Levels (0, 1, 2)?
- 3 основных требования Reproducibility?
- Why ML monitoring is harder than software monitoring?
MLflow
- Разница Tracking, Models, Registry, Projects?
- Как работает Auto-logging?
- Workflow stages в Model Registry?
- Как rollout новой модели в production?
- MLflow vs W&B vs Neptune?
DVC
- Почему Git не подходит для ML data?
- Функция
dvc.yamlиdvc.lock? - Варианты Remote storage?
- Какие stages перезапускает
dvc repro? - DVC vs LakeFS vs Pachyderm?
Serving
- FastAPI custom vs BentoML vs TorchServe — когда какой?
- Почему Batching важен на GPU?
- Почему полезен ONNX?
- Паттерны Async inference?
- Blue-green vs canary vs shadow deployment?
Docker / K8s
- Зачем Multi-stage build?
- K8s Pod, Deployment, Service?
- Probes (liveness, readiness)?
- По каким metrics работает HPA?
- Что такое KServe?
Monitoring
- Data drift, concept drift, prediction drift?
- PSI vs KS test?
- Evidently AI vs WhyLabs?
- Prometheus Counter vs Histogram vs Gauge?
- Retraining trigger logic?
CI/CD
- Что добавляется в ML CI/CD (по сравнению с классическим DevOps)?
- Code, data, model testing?
- Что делает CML?
- Deployment strategies?
- Rollback mechanism?
Airflow
- Разница DAG и Task?
- Зачем XCom?
- Sensors?
- TaskFlow API vs traditional Operators?
- Airflow vs Prefect vs Dagster?
✅ Чек-лист конца Месяца 6 (самый важный месяц!)
- MLflow Tracking + Registry
- DVC data versioning
- FastAPI ML serving (production-ready)
- Docker Compose stack
- Local Kubernetes deployment
- Prometheus + Grafana monitoring
- Evidently AI drift detection
- GitHub Actions ML pipeline
- CML reports
- Airflow DAG for retraining
- End-to-end MLOps проект на GitHub
- Architecture diagram
- LinkedIn post (сертификат + GitHub link)
- Обновить CV: “ML Engineer / MLOps Engineer”
- Отправить заявки на 5+ вакансий
6 месяцев завершены!
Теперь вы полноценный ML Engineer / MLOps Engineer. Следующий шаг:
- Финальные проекты — 4 больших проекта для portfolio
- Job applications — заявки на вакансии
- Open source contributions — в MLflow, Evidently, DVC и т.д.
- Speaking — выступать про ML/MLOps на meetup
- Mentor — обучать других
Всё в ваших руках. Удачи!