Dataset Catalog

Dataset Catalog#

The repository lists downloadable HDF5 datasets in datasets/data_sources.yaml. Once staged, each dataset lives at datasets/<name>/data.hdf5 and contains train/test/val splits, optional parameter sets, and metadata such as timesteps. The codes.create_dataset helper is described in Extending the benchmark and writes a consistent layout.

  • train / test / val: arrays with shape (n_samples, n_timesteps, n_quantities).

  • Optional *_params: per-trajectory parameters (e.g., radiation field, metallicity).

  • timesteps: explicit timeline (logarithmic or linear).

  • Attributes such as n_quantities, n_parameters, and train/test/val counts for quick inspection (older datasets may infer these values on the fly).

When you add new datasets, follow the same convention so the CLI can auto-discover everything.

Visualisations#

For each dataset we usually publish a quick set of plots (trajectories, gradients, distributions, random example). Generate or refresh them via:

python datasets/_data_analysis/analyse_all_datasets.py

The script iterates over the list called datasets inside datasets/_data_analysis/analyse_all_datasets.py. To visualise a new dataset, append its identifier there and add an entry to the dictionary defined in datasets/_data_analysis/dataset_dict.py. Each entry specifies whether to plot on a log scale, how many quantities per subplot (app), and the plotting tolerance (controls axis limits). The script then produces PNGs under each dataset folder.

osu dataset trajectories

Example visualisation (osu2008) showing the log-scale trajectories generated by the helper script.#

Download helper#

Local training, tuning, and evaluation fetch and cache data on demand using the URLs in datasets/data_sources.yaml. Slurm workers need the file staged before submission. From the repository root on a host with network access, run uv run python -c 'from codes import download_data; download_data("lotka_volterra")', substituting your dataset name. You can also copy an existing data.hdf5 into the shared dataset directory.