Skip to content

Commit 4416b49

Browse files
committed
Clean up dataset visualisations, add lv_parametric dataset variants
1 parent 6c45032 commit 4416b49

13 files changed

Lines changed: 22 additions & 14 deletions

config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
# Global settings for the benchmark
2-
training_id: "primordial_params1"
2+
training_id: "primordial_params_others"
33
surrogates: ["MultiONet", "FullyConnected", "LatentPoly"] # ["MultiONet", "FullyConnected", "LatentNeuralODE", "LatentPoly"]
44
batch_size: [8192, 8192, 512] # [8192, 8192, 512, 512]
5-
epochs: [15000, 15000, 15000] # [15000, 15000, 15000, 15000]
5+
epochs: [20000, 7500, 15000] # [20000, 7500, 20000, 15000]
66
dataset:
77
name: "primordial_parametric"
88
log10_transform: True
99
log10_transform_params: False
1010
normalise: "minmax" # "minmax" # "standardise", "minmax", "disable"
1111
use_optimal_params: True
12-
tolerance: 1e-15
12+
tolerance: 1e-20
1313
subset_factor: 1
1414
log_timesteps: True
15-
devices: ["cuda:3"]
15+
devices: ["cuda:1", "cuda:2", "cuda:4", "cuda:5", "cuda:7", "cuda:9"]
1616
seed: 42
1717
verbose: False
1818

1919
# Models to train
2020
interpolation:
21-
enabled: False
21+
enabled: True
2222
intervals: [2, 3, 4, 5, 6, 7, 8, 9, 10]
2323
extrapolation:
24-
enabled: False
24+
enabled: True
2525
cutoffs: [50, 60, 70, 80, 90]
2626
sparse:
27-
enabled: False
27+
enabled: True
2828
factors: [2, 4, 8, 16, 32]
2929
batch_scaling:
30-
enabled: False
30+
enabled: True
3131
sizes: [64, 512, 1024, 4096]
3232
uncertainty:
33-
enabled: False
33+
enabled: True
3434
ensemble_size: 5 # Number of models for deep ensemble
3535

3636
# Evaluations during benchmark

datasets/_data_analysis/analyse_all_datasets.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ def main():
3333
Main function to analyse the dataset. It checks the dataset and loads the data.
3434
"""
3535
datasets = [
36+
"lv_parametric",
37+
"lv_parametric_no_params",
3638
"primordial_parametric",
3739
"primordial",
38-
"lv_parametric",
3940
"simple_reaction",
4041
"osutest2",
4142
"coupled_oscillators",
@@ -122,7 +123,7 @@ def main():
122123
full_data,
123124
labels,
124125
max_quantities=10,
125-
threshold=2,
126+
threshold=4,
126127
max_faulty=5,
127128
quantities_per_plot=qpp,
128129
)

datasets/_data_analysis/dataset_dict.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,23 @@
5454
"primordial": {
5555
"log": True,
5656
"qpp": 5,
57-
"tol": 1e-30,
57+
"tol": 1e-20,
5858
"log_time": True,
5959
},
6060
"lv_parametric": {
6161
"log": True,
6262
"qpp": 3,
63-
"tol": 1e-30,
63+
"tol": 1e-20,
64+
},
65+
"lv_parametric_no_params": {
66+
"log": True,
67+
"qpp": 3,
68+
"tol": 1e-20,
6469
},
6570
"primordial_parametric": {
6671
"log": True,
6772
"qpp": 5,
68-
"tol": 1e-30,
73+
"tol": 1e-20,
6974
"log_time": True,
7075
},
7176
}

datasets/data_sources.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ branca_norad: "https://zenodo.org/records/14041124/files/data.hdf5?download=1"
88
branca_large_kyr: "https://zenodo.org/records/14204650/files/data.hdf5?download=1"
99
branca_large_myr: "https://zenodo.org/records/14243267/files/data.hdf5?download=1"
1010
coupled_oscillators: "https://zenodo.org/records/14717175/files/data.hdf5?download=1"
11+
lv_parametric: https://zenodo.org/records/15412214/files/data.hdf5?download=1
12+
lv_parametric_no_params: https://zenodo.org/records/15412297/files/data.hdf5?download=1
249 KB
Loading
212 KB
Loading
211 KB
Loading
135 KB
Loading
-163 KB
Binary file not shown.
20 KB
Loading

0 commit comments

Comments
 (0)