ml-experiment-tracking
Use when the user asks about MLflow tracking, Weights & Biases, DVC experiments, run and metric logging, artifact stores, MLflow model registry aliases or…
от j4flmao★ 47 звёзд на GitHub
Установить ml-experiment-tracking в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ML Experiment Tracking
Purpose
Track machine learning experiments with full reproducibility: log parameters, metrics, artifacts, and environment. Use the model registry to version, compare, and promote models through staging. Experiment tracking is the foundation of disciplined ML development — it transforms ad-hoc model building into a systematic, comparable, and repeatable process.
Architecture/Decision Trees
Platform Selection Decision Tree
Is your team size 1-3 data scientists working locally?
|-- YES --> MLflow (local mode, simple setup)
|-- NO --> Do you need rich collaboration features with non-ML stakeholders?
|-- YES --> W&B (rich UI, reports, dashboards)
|-- NO --> Do you have strict data sovereignty requirements?
|-- YES --> MLflow (self-hosted, full control)
|-- NO --> Do you need structured metadata with nested runs?
|-- YES --> W&B or Comet (structured logging, comparison)
|-- NO --> MLflow (open standard, broad ecosystem)
Do you need experiment tracking for deep learning specifically?
|-- YES --> W&B (tight PyTorch/HuggingFace integration) or Comet
|-- NO --> MLflow (sufficient for sklearn, XGBoost, lightGBM)
Do you need model registry with CI/CD integration?
|-- YES --> MLflow Model Registry (versions, aliases, tags, API)
|-- NO --> Platform-specific registry is sufficient
Is cost a primary constraint?
|-- YES --> MLflow (free, open-source), DVC (free, git-based)
|-- NO --> W&B or Comet (paid, more features)
MLflow Tracking Server Deployment
Self-hosted MLflow
├── Local development → sqlite:///mlflow.db + local artifact dir
├── Team (on-premise) → PostgreSQL + S3/MinIO + Gunicorn
│ Deployment: docker-compose with MLflow, Postgres, MinIO, Nginx
│ Scaling: multi-worker Gunicorn (>4 workers for >5 team members)
└── Enterprise → PostgreSQL (RDS/Aurora) + S3 + Load Balancer + ECS/K8s
Auth: OAuth proxy (OAuth2 Proxy, Cloudflare Access)
HA: Multi-AZ database, multi-replica MLflow, S3 replication
Model Registry Stage Flow
Training → Register Model (new version)
→ Validate → set alias "challenger"
→ A/B Test → OK? → move alias "champion" to this version
→ Monitor → Degraded? → move "champion" back to previous version → Retrain
→ FAIL → tag status=rejected → Debug and Retrain
Agent Protocol
Trigger
Exact user phrases: "experiment tracking", "MLflow", "WandB", "Weights and Biases", "Neptune", "DVC", "run logging", "metric logging", "artifact store", "model registry", "hyperparameter logging", "experiment comparison", "model versioning", "run comparison".
Input Context
Before activating, verify:
- Experiment tracking platform (MLflow, W&B, Neptune) or greenfield
- ML framework (PyTorch, TensorFlow, scikit-learn, XGBoost)
- Team size and collaboration model
- Infrastructure (local, on-premise server, cloud-managed)
- Artifact storage requirements (model files, datasets, plots)
- Model registry needs (manual vs automated promotion)
Output Artifact
Experiment tracking configuration with logging setup, artifact structure, and model registry workflow.
Response Format
# Experiment tracking setup
# Training loop with logging
# Model registry operations
# MLflow tracking server config
# Artifact store configuration
# Model registry alias rules
No preamble. No postamble. No explanations. No filler. Compress output.
Completion Criteria
- Experiment tracking platform selected and configured
- Run logging conventions established (params, metrics, tags)
- Artifact store configured with structure (models, plots, datasets)
- Model registry set up with versioning and alias-based promotion
- Reproducibility ensured (code version, data version, environment)
- Experiment comparison setup (parallel coordinates, scatter plots)
- Alerting or regression detection for metric degradation
Max Response Length
300 lines of configuration and code.
Workflow
Step 1: Platform Selection
MLflow: open-source, self-hosted, language-agnostic, tracking + registry + projects + models. W&B: cloud-hosted, rich UI, collaboration, tight PyTorch/HuggingFace integration. Neptune.ai is no longer an option: after its acquisition by OpenAI the hosted service shut down in March 2026, so migrate existing Neptune projects to MLflow or W&B. Local development: MLflow. Team collaboration: W&B (or Comet). Enterprise compliance: MLflow self-hosted on Kubernetes.
tracking_uri: http://mlflow-server:5000
default_artifact_root: s3://mlflow-artifacts/
experiment_defaults:
lifecycle_stage: active
tags:
team: ml-platform
project: recommendation-engine
Step 2: Run Logging Conventions
Structured parameter names: model.learning_rate, model.architecture.n_layers, data.train_size. Metric logging: log after every epoch and at the end. Use dictionary
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/data-versioning.md
- references/experiment-collaboration.md
- references/experiment-platforms.md
- references/experiment-reproducibility.md
- references/experiment-tracking-advanced.md
- references/experiment-tracking-fundamentals.md
- references/experiment-tracking-tools.md
- references/mlflow-setup.md
FAQ
Что делает скилл ml-experiment-tracking?
Use when the user asks about MLflow tracking, Weights & Biases, DVC experiments, run and metric logging, artifact stores, MLflow model registry aliases or migrating off Neptune. Produces tracking setup, logging conventions and registry promotion flow. Not for pipeline orchestration (use ml-ml-pipeline) or data versioning (use data-data-versioning).
Как установить скилл ml-experiment-tracking?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ml-experiment-tracking запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…