dlmastery/data_science_examples/experiment-tracking

Claude Code and agent skill by dlmastery/data_science_examples

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when running ML experiments that need to be compared, reproduced, or shared. Covers MLflow/Weights & Biases logging, what to track, run organization, and model registry basics.

Install

npx vskill@latest install dlmastery/data_science_examples/experiment-tracking

SKILL.md

The same SKILL.md was published earlier as param087/agent-ml-skills/experiment-tracking.

Experiment Tracking

Overview

Untracked experiments are unreproducible experiments. If you can't answer "which data + code + hyperparameters produced this metric?", you don't have a result — you have a number. This skill standardizes what to log and how.

When to use

  • Running more than one model/config.
  • Comparing experiments or sharing results with a team.
  • Preparing a model for promotion to staging/production.

What to always log

CategoryExamples
Paramshyperparameters, model arch, seed, data version/hash
Metricstrain/val loss per epoch, final test metrics, timing
Artifactsmodel checkpoint, config file, plots, confusion matrix
Code stategit commit SHA, dirty flag, dependency lockfile
EnvironmentPython/CUDA version, hardware

MLflow pattern

python
import mlflow, subprocess
mlflow.set_experiment("churn-classifier")
sha = subprocess.check_output(["git", "rev-parse", "HEAD"]).decode().strip()
with mlflow.start_run(run_name="hgb-baseline"):
mlflow.log_params({"model": "HGB", "lr": 0.1, "seed": 42, "data_v": "2026-06-01"})
mlflow.set_tag("git_sha", sha)
for epoch, loss in enumerate(history):
mlflow.log_metric("val_loss", loss, step=epoch)
mlflow.log_metric("test_auc", test_auc)
mlflow.sklearn.log_model(model, "model")
mlflow.log_artifact("confusion_matrix.png")

Weights & Biases pattern

python
import wandb
wandb.init(project="churn", config={"lr": 3e-4, "seed": 42})
for epoch in range(epochs):
wandb.log({"val_loss": val_loss, "epoch": epoch})
wandb.log({"test_auc": test_auc})
wandb.finish()

Run hygiene

  • One run = one config. Don't mutate params mid-run.
  • Name runs meaningfully (hgb-lr0.1-seed42), and tag by experiment goal.
  • Log the data version, not just the code — data drift silently invalidates comparisons.
  • Promote a vetted run to the model registry with a stage (Staging/Production) rather than copying files around.

Pitfalls

  • Logging only the final metric (no per-epoch curve) — you can't diagnose overfitting later.
  • Forgetting the git SHA — "best model" becomes unreproducible.
  • Tracking metrics but not the exact dataset used.
  • Comparing runs with different seeds and calling a 0.1% delta "improvement" — see the model-evaluation skill on significance.

Hand-off

A queryable run history + registered model that hyperparameter-tuning compares against and model-serving deploys from.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dlmastery/data_science_examples/experiment-tracking/badge)](https://verified-skill.com/skills/dlmastery/data_science_examples/experiment-tracking)

Something wrong with this skill or its page? Tell us.