Skip to content
Skills Library
AI & agents · Tool integration

experiment-tracking

/experiment-tracking

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.

Licence
MIT
Last repository change
05.06.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 05.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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.

Original author description

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.

How it works

  1. Overview
  2. When to use
  3. What to always log
  4. MLflow pattern
  5. Weights & Biases pattern
  6. Run hygiene
  7. Pitfalls
  8. Hand-off
Original SKILL.md headings · 70 lines, 323 words
SKILL.md preview
---
name: experiment-tracking
description: 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.
---

# 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

| Category | Examples |
|----------|----------|
| **Params** | hyperparameters, model arch, seed, data version/hash |
| **Metrics** | train/val loss per epoch, final test metrics, timing |
| **Artifacts** | model checkpoint, config file, plots, confusion matrix |
| **Code state** | git commit SHA, dirty flag, dependency lockfile |
| **Environment** | Python/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.

Versions

RepositoryScoreLicence
This page · param087/agent-ml-skills100MIT
SkillMedev/skills100MIT
selvarajmurugesan90/ops-engineering-skills100Apache-2.0
Amey-Thakur/AI-SKILLS90MIT

Database snapshot: 13.11.2026 · package version 5bd61c013a16 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100setting-up-experiment-tracking
    Implement machine learning experiment tracking using MLflow or Weights & Biases. Configures environment and provides code for logging parameters, metrics, and artifacts. Use when asked to "setup experiment tracking" or "initialize MLflow". Trigger with relevant phrases based on skill purpose.
  • 100setting-up-experiment-tracking
    Implement machine learning experiment tracking using MLflow or Weights & Biases. Configures environment and provides code for logging parameters, metrics, and artifacts. Use when asked to "setup experiment tracking" or "initialize MLflow". Trigger with relevant phrases based on skill purpose.
  • 100weights-and-biases-experiment-tracking
    Sets up and operates Weights & Biases (W&B) specifically — the run/sweep/ artifact object model, hyperparameter sweep configuration and agents, report generation for stakeholder communication, and how W&B compares to MLflow (SaaS-first vs. self-hostable, sweep automation depth)…
  • 100weights-biases
    Expert Weights & Biases (W&B) assistance covering experiment tracking, artifact versioning, hyperparameter sweeps, and model monitoring. Use when tracking deep learning experiments and collaborating on ML workflows.
  • 100mlflow
    Expert MLflow assistance covering experiment tracking, autologging, model registry, and MLflow recipes. Use when tracking ML metrics, versioning model artifacts, or serving production models.
  • 95domino-experiment-tracking
    Track traditional ML experiments in Domino using the MLflow-based Experiment Manager. Covers experiment setup, auto-logging for sklearn/TensorFlow/PyTorch, manual logging, artifact storage, run comparison, and model registration. Use when training ML models, logging metrics and…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.