Access and loading¶
Download from Hugging Face¶
The canonical public archive is hosted at huggingface.co/datasets/htmoges/chaosnetbench-cml.
From the repository root, the Python client can place the archive at the path expected by the training scripts:
pip install huggingface_hub
python -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='htmoges/chaosnetbench-cml', filename='data/chaosnetbench_cml.h5', repo_type='dataset', local_dir='.')"
The resulting path should be:
The dataset page on Hugging Face publishes the archive metadata and checksum. The file is large, so confirm available storage before downloading it.
Inspect the archive¶
Use the public inspection function without loading the complete archive into memory:
Load one system instance¶
The benchmark loader accepts physical coupling ε, not ρ. For example, K = 2.0 and ρ = 0.20 correspond to ε = 0.40:
from chaosnetbench.dataset import load_benchmark_data
data = load_benchmark_data(
"data/chaosnetbench_cml.h5",
K=2.0,
epsilon=0.40,
N=8,
seq_len=48,
pred_len=12,
)
The returned dictionary contains normalised train,
val and test arrays, train-fitted scaler statistics,
the site- and variable-level adjacency matrices, the initial-condition indices
for each split, per-initial-condition test trajectories and available chaos
diagnostics.
Normalisation is fitted on the training split and then applied to validation and test data. The default initial-condition allocation yields 70 training, 10 validation and 20 test trajectories per system instance.
For canonical source-level details, see
data/README.md
and the public loader in
chaosnetbench/dataset.py.