ml-experiment-tracking

Instrument ML training runs with MLflow or Weights & Biases for reproducible experiment tracking.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill ml-experiment-tracking-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-experiment-tracking
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/04-ai-ml/ml-experiment-tracking
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill ml-experiment-tracking-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mlflow, wandb, xgboost, scikit-learn, pandas, numpy, matplotlib.

What problem does it solve? Machine learning teams lose track of which hyperparameters, datasets, and code versions produced which results, making experiments impossible to reproduce and model promotion decisions unreliable. ## Core Features & Use Cases - Full Run Instrumentation: Log hyperparameters, per-epoch metrics, dataset hashes, git commits, and artifacts using MLflow or Weights & Biases. - Model Registry Integration: Register trained models, transition versions through Staging and Production stages, and archive superseded models for rollback. - Run Comparison & Reproducibility: Compare runs by metric to find the best model, capture environment details like requirements.txt and random seeds, and version experiment configs in YAML. - Use Case: A data scientist tuning an XGBoost classifier can log every training run with its config and validation AUC, then query the tracking server to find the top five runs and promote the winner to staging with one function call. ## Quick Start Set up MLflow experiment tracking for my XGBoost training script, including parameter logging, per-epoch metrics, and model registry promotion.

Frequently Asked Questions about ml-experiment-tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track ML experiments with MLflow in Python?

Use mlflow.start_run() as a context manager around training code, then call mlflow.log_params for hyperparameters, mlflow.log_metrics for evaluation scores, and mlflow.log_model to store the trained model. Set the tracking URI and experiment name before starting runs.

MLflow vs Weights & Biases for experiment tracking?

MLflow is self-hosted and open source with a built-in model registry supporting Staging and Production stages. Weights & Biases is a managed service with artifact lineage and collaborative dashboards. Both log params, metrics, and artifacts with similar APIs.

How do I log per-epoch training metrics in MLflow?

Call mlflow.log_metrics with a step argument inside the training loop, passing the epoch number as step. This records training curves over time rather than only final metrics, which helps identify overfitting early.

How do I promote a model to production in MLflow model registry?

Register the model from a run using mlflow.register_model with the run URI, then use MlflowClient.transition_model_version_stage to move it to Staging and later Production. Archive existing production versions instead of deleting them for rollback.

Why is my ML experiment not reproducible across runs?

Runs become irreproducible when random seeds, dataset versions, or code versions are not logged. Fix seeds for numpy, torch, and random, log the dataset hash and git commit with each run, and store requirements.txt as an artifact.