Plan an ML experiment
SkillDatabases & dataPlan reproducible machine-learning experiments with leakage-safe random, grouped, or chronological splits; deterministic configuration fingerprints; dataset checksums; seeds, baselines, ablations, and artifact manifests.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Plan an ML experiment skill
What this skill tells your AI
The instructions your AI receives, as published by pku-yuangroup/openai4s in skills/plan-ml-experiment/SKILL.md and read by ahel’s review.
Use this skill before training begins. A reproducible experiment is a falsifiable question plus immutable inputs, a leakage-safe evaluation boundary, a declared metric, and enough recorded state to rerun the comparison.
Planning sequence
- Write the hypothesis, intervention, baseline, primary metric, and decision rule before inspecting test performance.
- Choose the unit that must remain independent. Use a grouped split for patients, molecules/scaffolds, sites, documents, or repeated measures; use a chronological split when deployment predicts the future.
- Reserve the test set for the final comparison. Fit preprocessing and choose hyperparameters using training/validation data only.
- Fix seeds, environments, input versions, and the exact configuration.
- Run the baseline first, then one-factor ablations and the planned model.
- Save per-example predictions and a manifest before drawing conclusions.
Deterministic helpers
from importlib import import_module
plan = import_module("plan-ml-experiment.kernel")
splits = plan.grouped_split(patient_ids, seed=42)
manifest = plan.experiment_manifest(
config,
data_paths=["data/cohort.csv"],
seeds=[42, 43, 44],
code_revision="<git commit>",
)
Use random_split(size, ...) only when rows are genuinely independent.
grouped_split(groups, ...) keeps each group in exactly one partition.
chronological_split(timestamps, ...) orders observations without shuffling.
All return original row indices under train, validation, and test.
Minimum artifact set
- frozen config and
config_fingerprint; - source artifact/version plus SHA-256 checksums;
- code revision, runtime/environment versions, and random seeds;
- split indices or stable sample IDs and the grouping/time policy;
- baseline, ablation, and final per-example predictions;
- aggregate metrics with uncertainty and a failure analysis.
Determinism does not prove validity. Hardware kernels may remain nondeterministic, and repeating one biased split does not repair leakage or dataset shift. Report deviations from the plan rather than overwriting it.
Signals
- GitHub stars
- 404
- Forks
- 48
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
plan-ml-experiment- Source
- github.com/pku-yuangroup/openai4s